Skip to content

Commit

Permalink
add token to GH repo checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
jordangov committed Jul 2, 2024
1 parent b5b1c30 commit 55de7c0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/hero-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ jobs:
pull-requests: write
steps:
- uses: actions/checkout@v4
with:
repository: jordangov/defcon-poc
# token needss to be able read repo contents, write to PRs, and read secrets
token: ${{secrets.GH_TOKEN}}
- name: Run script
run: |
echo "user: ${{github.actor}}"
echo -n "${{github.actor}}-${{secrets.SALT}}" | openssl dgst -${{secrets.ALGO}}

0 comments on commit 55de7c0

Please sign in to comment.