ci: Use permissions and regular GitHub token instead of PAT

This commit is contained in:
oSumAtrIX 2024-09-30 23:41:48 +02:00
parent 85e0cb99f2
commit a06b7a359e
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

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