mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-07 07:55:13 +02:00
ci: push star-history refresh to protected main with RELEASE_PAT (#239)
The scheduled star-history workflow checked out with the default GITHUB_TOKEN, so its git push to main was rejected by the branch protection hook (GH006). Check out with RELEASE_PAT instead, matching release.yml, whose semantic-release step already pushes to the protected main branch with the same token.
This commit is contained in:
parent
08d08d8ea0
commit
ba06f7078a
1 changed files with 4 additions and 0 deletions
4
.github/workflows/star-history.yml
vendored
4
.github/workflows/star-history.yml
vendored
|
|
@ -25,6 +25,10 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||||
|
with:
|
||||||
|
# RELEASE_PAT can push to the protected main branch; the default
|
||||||
|
# GITHUB_TOKEN is rejected by the branch-protection hook (GH006).
|
||||||
|
token: ${{ secrets.RELEASE_PAT }}
|
||||||
|
|
||||||
- name: Fetch fresh star-history SVG
|
- name: Fetch fresh star-history SVG
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue