We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents da507e4 + 53fc05c commit 07d255eCopy full SHA for 07d255e
.github/workflows/trademark-cla-approval.yml
@@ -308,6 +308,11 @@ jobs:
308
# Commit the updated file
309
git config user.name "github-actions[bot]"
310
git config user.email "github-actions[bot]@users.noreply.github.com"
311
+
312
+ # Configure git to use the token for authentication
313
+ TOKEN="${{ steps.generate-token.outputs.token || secrets.GITHUB_TOKEN }}"
314
+ git remote set-url origin "https://x-access-token:${TOKEN}@github.com/${{ github.repository }}.git"
315
316
git add cla-signatures.json
317
git commit -m "Add manual approval for @$USERNAME (PR #$PR_NUMBER) by @$APPROVED_BY" || echo "No changes to commit"
318
git push
0 commit comments