Skip to content

Commit

Permalink
Granting extra permissions to the injected token
Browse files Browse the repository at this point in the history
  • Loading branch information
sestrella committed Nov 21, 2023
1 parent 982d7f1 commit 22c6d83
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,20 @@ jobs:
release:
runs-on: ubuntu-latest
# needs: [templates]
permissions:
contents: write
issues: write
pull-requests: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v6
- run: nix develop --check
- run: nix develop -c npm ci
- run: nix develop -c npx semantic-release
- name: Install tools via Nix
run: nix develop --check
- name: Install dependencies
run: nix develop -c npm ci
- name: Run semantic-release
run: nix develop -c npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 22c6d83

Please sign in to comment.