Skip to content

Commit

Permalink
add GITHUB_TOKEN to security scan build environment
Browse files Browse the repository at this point in the history
  • Loading branch information
skovati committed Oct 14, 2024
1 parent fcbc166 commit fcf0a87
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/security-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,17 @@ on:
- v*
workflow_dispatch:

env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: write
packages: read
security-events: write

strategy:
Expand Down

0 comments on commit fcf0a87

Please sign in to comment.