Skip to content

Commit

Permalink
Use GITHUB_TOKEN to authenticate gh CLI instead of explicit login
Browse files Browse the repository at this point in the history
  • Loading branch information
tdg5 committed Apr 6, 2024
1 parent 226142b commit 98875a3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ jobs:
git tag -m "$RELEASE_NAME" "$RELEASE_NAME"
git push origin "$RELEASE_NAME"
echo -n "$GITHUB_TOKEN" | gh auth login --with-token
gh release create \
--generate-notes \
--target "$GITHUB_REF" \
Expand Down

0 comments on commit 98875a3

Please sign in to comment.