Skip to content

Commit

Permalink
bug: use proper secret in a workflow (#960)
Browse files Browse the repository at this point in the history
/kind bug
/area ci

It's supposed to be `${{ secrets.GITHUB_TOKEN }}`...
  • Loading branch information
Ressetkk authored Aug 1, 2024
1 parent 4115b39 commit eef35bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/update-sec-scanner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
- cron: '21 * * * *'
permissions:
contents: write
pull-requests: write
jobs:
update-sec-scanners:
name: update sec-scanners-config.yaml
Expand All @@ -25,7 +26,7 @@ jobs:
- shell: bash
name: Schedule security-config update
env:
GH_TOKEN: ${{ github.token }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
Expand Down

0 comments on commit eef35bd

Please sign in to comment.