diff --git a/.github/workflows/snyk.yml b/.github/workflows/snyk.yml index c05feffbf..4b27ea3d4 100644 --- a/.github/workflows/snyk.yml +++ b/.github/workflows/snyk.yml @@ -38,7 +38,7 @@ jobs: - if: github.actor == 'dependabot[bot]' || github.event_name == 'merge_group' run: exit 0 # Skip unnecessary test runs for dependabot and merge queues. Artifically flag as successful, as this is a required check for branch protection. - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha || github.ref }}