Skip to content

Commit 87ac2f5

Browse files
authored
Change GitHub token for flake maintenance workflow
Instead of using the default read-only GITHUB_TOKEN, use the newly created GH_TOKEN_FOR_UPDATES [personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-fine-grained-personal-access-token) which has "create PR" permissions on the repo.
1 parent 3f881b9 commit 87ac2f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/flake-maintenance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ jobs:
4848
with:
4949
pr-title: "chore: update flake.lock"
5050
commit-msg: "chore: update flake.lock"
51-
token: ${{ secrets.GITHUB_TOKEN }}
51+
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
5252
nix-options: --offline

0 commit comments

Comments
 (0)