Skip to content

Commit

Permalink
ci: return to using custom CI tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
VladX09 committed Sep 20, 2023
1 parent a8c85c2 commit 7afb458
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 7afb458

Please sign in to comment.