Skip to content

Commit

Permalink
set permission to allow GITHUB_TOKEN to be used to publish release
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed May 16, 2024
1 parent ef1fb6e commit b9c268e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Release
on:
push:
branches:
- main
branches: [main]
permissions:
contents: write
jobs:
activate:
runs-on: ubuntu-latest
Expand All @@ -25,5 +26,5 @@ jobs:
run: npm ci
- name: Tag and release
env:
GITHUB_API_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx gulp release

0 comments on commit b9c268e

Please sign in to comment.