ci: Use permissions and regular GitHub token instead of PAT
This commit is contained in:
parent
b81a551dc3
commit
070388a42b
3 changed files with 7 additions and 3 deletions
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
|
|
@ -10,6 +10,9 @@ on:
|
|||
jobs:
|
||||
release:
|
||||
name: Release
|
||||
permissions:
|
||||
contents: write
|
||||
packages: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
@ -46,5 +49,5 @@ jobs:
|
|||
|
||||
- name: Release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.REPOSITORY_PUSH_ACCESS }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: npm exec semantic-release
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue