Skip to content

Commit

Permalink
ci: add token for marking latest release step (#381)
Browse files Browse the repository at this point in the history
  • Loading branch information
nekowinston authored Apr 24, 2024
1 parent 4b857d9 commit 75d96f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
- name: Add files to GH Release
working-directory: ./packages/catppuccin-vsc
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ github.token }}
run: |
gh release upload ${{ needs.release-please.outputs.theme_tag }} catppuccin-*.vsix
Expand Down Expand Up @@ -160,5 +160,7 @@ jobs:

steps:
- name: Mark VSCode theme release as latest release
env:
GH_TOKEN: ${{ github.token }}
run: gh release edit ${{ needs.release-please.outputs.theme_tag }} --latest
if: ${{ needs.release-please.outputs.theme_release == 'true' }}

0 comments on commit 75d96f3

Please sign in to comment.