Skip to content

Commit

Permalink
ci: force PAT to be used on conventional changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveitaly committed Dec 29, 2023
1 parent 39a1e77 commit db3a8c6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
env:
token: ${{ secrets.GH_PERSONAL_TOKEN }}

- name: Trunk Check
uses: trunk-io/trunk-action@v1
Expand All @@ -53,6 +51,9 @@ jobs:
with:
skip-version-file: "true"
pre-commit: bin/pre-commit.js
# NOTE if not provided, GITHUB_TOKEN is *not* used!
# https://github.com/TriPSs/conventional-changelog-action/blob/66cc91f84686286f21478f1f781ea8b34bdf0446/action.yml#L16
github-token: ${{ secrets.GH_PERSONAL_TOKEN }}

- name: Build Release Binary
if: ${{ steps.changelog.outputs.skipped == 'false' }}
Expand Down

0 comments on commit db3a8c6

Please sign in to comment.