Skip to content

Commit

Permalink
ci: Replace write-all premission with a WORKFLOW_TOKEN
Browse files Browse the repository at this point in the history
At this point, I'm out of ideas on how to fix this.
  • Loading branch information
EttyKitty committed Dec 29, 2024
1 parent b7875a0 commit 6361fb1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ jobs:
runs-on: windows-2022
needs: gamemaker_build
if: needs.build_needed.outputs.needed == 'true'
permissions: write-all
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -101,7 +100,7 @@ jobs:

# Use curl to send the PATCH request with proper headers and data
curl --fail-with-body -X PATCH `
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" `
-H "Authorization: Bearer ${{ secrets.WORKFLOW_TOKEN }}" `
-H "Accept: application/vnd.github.v3+json" `
-d $data `
$url
Expand Down

0 comments on commit 6361fb1

Please sign in to comment.