-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix
update-pre-commit-hooks
workflow
The `update-pre-commit-hooks` workflow used `REPO_PAT` as its token, which caused it fail with the default permissions suggested for the token (repo restricted 'contents:write' and 'pull_requests:write'). Custom tokens, used to allow pull requests to trigger workflows, need to be global. This commit simply removes the dependence on `REPO_PAT`, and uses the default `GITHUB_TOKEN` in the workflow--consequently the pull request made by `update-pre-commit-hooks` will not trigger `check-pr`. Additionally, 'pull_requests:write' is no longer listed as a required permission for `REPO_PAT`.
- Loading branch information
1 parent
60216a8
commit 8826b5f
Showing
4 changed files
with
13 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters