ci: Use permissions and regular GitHub token instead of PAT

This commit is contained in:
oSumAtrIX 2024-09-30 22:24:18 +02:00
parent a7af611ef0
commit 7ee4f15ab9
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -10,6 +10,8 @@ on:
jobs: jobs:
release: release:
name: Release name: Release
permissions:
contents: write
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
@ -46,5 +48,5 @@ jobs:
- name: Release - name: Release
env: env:
GITHUB_TOKEN: ${{ secrets.REPOSITORY_PUSH_ACCESS }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm exec semantic-release run: npm exec semantic-release