From f1cc80b458c22d7009bcbf90378afea930ca563b Mon Sep 17 00:00:00 2001 From: Breezebuilder Date: Thu, 27 Mar 2025 12:07:34 +1100 Subject: [PATCH] Use standard GITHUB_TOKEN secret for auth --- .github/workflows/check-mod.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-mod.yml b/.github/workflows/check-mod.yml index 496d7297..5d8356a9 100644 --- a/.github/workflows/check-mod.yml +++ b/.github/workflows/check-mod.yml @@ -22,9 +22,9 @@ jobs: - name: Identify Changed Mods id: find-changed-mods run: | - # Get the list of files changed in the PR using GitHub API with PAT + # Get the list of files changed in the PR using GitHub API API_RESPONSE=$(curl -s -X GET \ - -H "Authorization: token ${{ secrets.PAT_TOKEN }}" \ + -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ -H "Accept: application/vnd.github.v3+json" \ "https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/files")