Skip to content

Commit

Permalink
GITHUB_SHA correction for PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
MPV authored Nov 6, 2023
1 parent 11ed13c commit 0a0d3e2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/dependency-review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ permissions:
contents: write # for submitting dependency graph
pull-requests: write # for comment-summary-in-pr

env:
# workaround for PR support:
GITHUB_SHA: ${{ github.event.pull_request.head.sha || github.sha }}

jobs:
dependency-review:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 0a0d3e2

Please sign in to comment.