Skip to content

Commit

Permalink
[ci] fix permissions of token
Browse files Browse the repository at this point in the history
Signed-off-by: unlsycn <[email protected]>
  • Loading branch information
unlsycn committed Sep 14, 2024
1 parent cac0c8f commit 1b9451a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/daily-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
if: ${{ !cancelled() }}
runs-on: [self-hosted, linux, nixos]
permissions:
pull-requests: write
contents: write
defaults:
run:
Expand Down Expand Up @@ -45,7 +46,7 @@ jobs:
sed -i "s|$oldHash|$newHash|" nix/gcd/gcd.nix
- name: Commit changes
env:
GITHUB_TOKEN: ${{ secrets.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 1b9451a

Please sign in to comment.