Skip to content

Commit

Permalink
temp: set GH_TOKEN env var
Browse files Browse the repository at this point in the history
Signed-off-by: Bart Smykla <[email protected]>
  • Loading branch information
bartsmykla committed Jan 10, 2025
1 parent 9e3b405 commit 96987db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:

steps:
- name: Get last 5 commits and their checks
env:
GH_TOKEN: ${{ github.token }}
run: |
# Get the last 5 commits
commits=$(gh api repos/${{ github.repository }}/commits --jq '.[0:5] | .[].sha')
Expand Down

0 comments on commit 96987db

Please sign in to comment.