From a11f7e76a58f5686d881782dcebaa3d38fc04bf1 Mon Sep 17 00:00:00 2001 From: Ladislao Date: Wed, 20 Sep 2023 11:06:22 +0200 Subject: [PATCH] ci: return to using custom CI tokens --- .github/workflows/cicd.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index cc36f6c..127241c 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -61,10 +61,6 @@ jobs: output1: ${{ steps.version-number.outputs.VERSION }} needs: [build, test-commits] if: github.ref == 'refs/heads/main' - permissions: - contents: write - issues: write - pull-requests: write steps: - name: Checkout uses: actions/checkout@v3 @@ -84,7 +80,7 @@ jobs: conventional-changelog-conventionalcommits - name: Release env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # autogenerated + GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }} run: | # run semantic release and pipe the output both to the console and a log file semantic-release 2>&1 | tee log.txt