Skip to content

Scheduling infrastructure for absolutely everyone.

chore: use gh auth login with token for commit step in draft-release job (#27248)

Morgan8848efef4f36
diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml
index 733927b7b68..4324f658bc7 100644
--- a/.github/workflows/draft-release.yml
+++ b/.github/workflows/draft-release.yml
@@ -94,6 +94,7 @@ jobs:
VERSION: ${{ inputs.next_version }}
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
run: |
+ echo "$GITHUB_TOKEN" | gh auth login --with-token
gh auth setup-git
git add .
git commit -m "chore: release v$VERSION"