Skip to content

Commit adee60a

Browse files
authored
checkout the repo if common dependencies changed (hyperlight-dev#235)
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
1 parent 1e24b3a commit adee60a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ValidatePullRequest.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ jobs:
4545
result-encoding: string
4646
# Check to see if this a dependabot PR and if it updates either the common or guest Cargo.toml files
4747
# 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
48+
- name: checkout
49+
uses: actions/checkout@v4
50+
if: ${{ github.actor == 'dependabot[bot]' && steps.changes.outputs.common_deps_count > 0 }}
4851
- name: Update Cargo.lock for dependabot changes
4952
if: ${{ github.actor == 'dependabot[bot]' && steps.changes.outputs.common_deps_count > 0 }}
5053
run: |

0 commit comments

Comments
 (0)