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 3232 - '**/*.txt'
3333 all:
3434 - '**/*'
35+ common_deps:
36+ - '**/src/hyperlight_guest/Cargo.toml'
37+ - '**/src/hyperlight_common/Cargo.toml'
3538 - uses : actions/github-script@v7
3639 id : docs-only
3740 with :
4346 # Check to see if this a dependabot PR and if it updates either the common or guest Cargo.toml files
4447 # 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
4548 - 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 }}
4750 run : |
4851 cargo update --manifest-path src/tests/rust_guests/simpleguest/Cargo.toml
4952 cargo update --manifest-path src/tests/rust_guests/callbackguest/Cargo.toml
You can’t perform that action at this time.
0 commit comments