From 87174eadd63041afe7dcf8ee7aaf4aff47d2f45d Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Mon, 30 Sep 2024 23:41:51 +0200 Subject: [PATCH] ci: Use permissions and regular GitHub token instead of PAT --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index df90459..0494292 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: name: Release runs-on: ubuntu-latest permissions: - contents: read + contents: write packages: write steps: - name: Checkout @@ -60,7 +60,7 @@ jobs: DOCKER_REGISTRY_USER: ${{ github.actor }} DOCKER_REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }} GITHUB_ACTOR: ${{ github.actor }} - GITHUB_TOKEN: ${{ secrets.REPOSITORY_PUSH_ACCESS }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: npm exec semantic-release - name: Set Portainer stack webhook URL based on branch