Skip to content

Commit

Permalink
Use permissions instead of token
Browse files Browse the repository at this point in the history
  • Loading branch information
Stypox committed Nov 11, 2024
1 parent ddbb803 commit 64658a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ on:
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
ref: 'refactor'
token: ${{secrets.ACCESS_TOKEN}}

- name: "Determine next tag"
id: tagger
Expand Down Expand Up @@ -70,7 +71,6 @@ jobs:
if: ${{ env.do_release == 'true' }}
uses: ad-m/[email protected]
with:
github_token: ${{secrets.ACCESS_TOKEN}}
branch: refactor

- name: "Sign release"
Expand Down

0 comments on commit 64658a1

Please sign in to comment.