Rename mirror secret to MIRROR_TOKEN (GITHUB_ prefix is reserved)
Some checks failed
Mirror to GitHub / mirror (push) Failing after 1s
Some checks failed
Mirror to GitHub / mirror (push) Failing after 1s
Forgejo/gitea rejects user secret names starting with GITHUB_. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
96880cbc79
commit
5f18df69c0
1 changed files with 1 additions and 1 deletions
|
|
@ -17,5 +17,5 @@ jobs:
|
||||||
# Mirror only branches and tags (not refs/pull/*, which GitHub rejects);
|
# Mirror only branches and tags (not refs/pull/*, which GitHub rejects);
|
||||||
# --prune deletes GitHub refs that no longer exist on Forgejo.
|
# --prune deletes GitHub refs that no longer exist on Forgejo.
|
||||||
git push --prune \
|
git push --prune \
|
||||||
"https://x-access-token:${{ secrets.GITHUB_MIRROR_TOKEN }}@github.com/Breadway/breadcrumbs.git" \
|
"https://x-access-token:${{ secrets.MIRROR_TOKEN }}@github.com/Breadway/breadcrumbs.git" \
|
||||||
'+refs/heads/*:refs/heads/*' '+refs/tags/*:refs/tags/*'
|
'+refs/heads/*:refs/heads/*' '+refs/tags/*:refs/tags/*'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue