chore: use gh auth login with token for commit step in draft-release job (#27248)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user