Skip to content

Commit 784e97e

Browse files
Merge pull request #61 from hyperpolymath/fix/ci-corrective
fix(ci): pass GITHUB_TOKEN to Hypatia scan step
2 parents 7f7f707 + 3dfcd52 commit 784e97e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/hypatia-scan.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ jobs:
5555
5656
- name: Run Hypatia scan
5757
id: scan
58+
env:
59+
# Hypatia uses Dependabot alerts as one of its signal sources.
60+
# Without GITHUB_TOKEN it warns and exits 1. The default GITHUB_TOKEN
61+
# has the security_events:read scope needed to query alerts.
62+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5863
run: |
5964
echo "Scanning repository: ${{ github.repository }}"
6065

0 commit comments

Comments
 (0)