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