There was an error while loading. Please reload this page.
2 parents ba2190b + e3a4c0e commit 227e04fCopy full SHA for 227e04f
1 file changed
.github/workflows/queue_filing.yml
@@ -156,7 +156,10 @@ jobs:
156
echo "::error::Claude produced no changes"; exit 1
157
fi
158
git commit -m "queue: file paper from #${ISSUE}"
159
- git push -u origin "$branch"
+ # claude-code-action rewires the checkout git credentials for its
160
+ # own short-lived OIDC token (the first live run died here with
161
+ # 'Invalid username or token') — push with the job token explicitly.
162
+ git push "https://x-access-token:${GH_TOKEN}@github.com/${GH_REPO}.git" "HEAD:refs/heads/${branch}"
163
{
164
echo "Files the paper requested in #${ISSUE} (label: $(cat /tmp/issue_label.txt))."
165
echo
0 commit comments