File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 32
32
- '**/*.txt'
33
33
all:
34
34
- '**/*'
35
+ common_deps:
36
+ - '**/src/hyperlight_guest/Cargo.toml'
37
+ - '**/src/hyperlight_common/Cargo.toml'
35
38
- uses : actions/github-script@v7
36
39
id : docs-only
37
40
with :
43
46
# Check to see if this a dependabot PR and if it updates either the common or guest Cargo.toml files
44
47
# if it does we need to try and generate a new Cargo.lock file as the PR validation checks that these are up to date
45
48
- name : Update Cargo.lock for dependabot changes
46
- if : ${{ github.actor == 'dependabot[bot]' && (github.event.pull_request.changed_files.* == 'src/hyperlight_common/Cargo.toml' || github.event.pull_request.changed_files.* == 'src/hyperlight_guest/Cargo.toml') }}
49
+ if : ${{ github.actor == 'dependabot[bot]' && steps.changes.outputs.common_deps_count > 0 }}
47
50
run : |
48
51
cargo update --manifest-path src/tests/rust_guests/simpleguest/Cargo.toml
49
52
cargo update --manifest-path src/tests/rust_guests/callbackguest/Cargo.toml
You can’t perform that action at this time.
0 commit comments