Skip to content

Commit f7a979e

Browse files
committed
[CI] Use custom token for 'Update pre-commit hooks' job
1 parent 26bf6f8 commit f7a979e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/update-pre-commit.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
schedule:
55
- cron: '0 0 * * 5'
66
workflow_dispatch:
7+
# pull_request: # remove
78

89
permissions:
910
contents: write
@@ -22,4 +23,4 @@ jobs:
2223
- name: Update pre-commit hooks
2324
uses: ./.github/actions/update-precommit
2425
with:
25-
token: ${{ secrets.GITHUB_TOKEN }}
26+
token: ${{ secrets.PRECOMMIT_UPDATE_TOKEN }}

0 commit comments

Comments
 (0)