From 6361fb1a5d80de505473d118d3d7eca240e470ef Mon Sep 17 00:00:00 2001 From: EttyKitty <20323032+EttyKitty@users.noreply.github.com> Date: Fri, 27 Dec 2024 09:13:12 +0300 Subject: [PATCH] ci: Replace write-all premission with a WORKFLOW_TOKEN At this point, I'm out of ideas on how to fix this. --- .github/workflows/release_dev.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release_dev.yml b/.github/workflows/release_dev.yml index e14133531..28eb1fd0f 100644 --- a/.github/workflows/release_dev.yml +++ b/.github/workflows/release_dev.yml @@ -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: @@ -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