1
0

Use standard GITHUB_TOKEN secret for auth

This commit is contained in:
Breezebuilder
2025-03-27 12:07:34 +11:00
parent 666c395249
commit f1cc80b458

View File

@@ -22,9 +22,9 @@ jobs:
- name: Identify Changed Mods - name: Identify Changed Mods
id: find-changed-mods id: find-changed-mods
run: | 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 \ 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" \ -H "Accept: application/vnd.github.v3+json" \
"https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/files") "https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/files")