From db3a8c6dacb12d9b1be55c76e22315256a79251e Mon Sep 17 00:00:00 2001 From: Michael Bianco Date: Fri, 29 Dec 2023 09:32:34 -0700 Subject: [PATCH] ci: force PAT to be used on conventional changelog --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 68fd25d..a82f074 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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' }}