Skip to content

Commit

Permalink
fix: replace custom CI token with the autogenerated one
Browse files Browse the repository at this point in the history
  • Loading branch information
VladX09 committed Sep 19, 2023
1 parent c8ecaf2 commit 3825c25
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ 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 @@ -80,7 +84,7 @@ jobs:
conventional-changelog-conventionalcommits
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # autogenerated
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 3825c25

Please sign in to comment.