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")