diff --git a/.github/workflows/setup.yml b/.github/workflows/setup.yml index af881bc..dd237ce 100644 --- a/.github/workflows/setup.yml +++ b/.github/workflows/setup.yml @@ -8,6 +8,9 @@ on: paths: - '.github/workflows/setup.yml' +permissions: + contents: write + jobs: minimal-setup: if: github.repository != 'EnderModuBot/template' @@ -22,7 +25,7 @@ jobs: curl -s -X PATCH "https://api.github.com/repos/${{ github.repository }}" \ -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ -H "Accept: application/vnd.github+json" \ - -d '{"delete_branch_on_merge":true}' | jq + -d '{"delete_branch_on_merge":true}' env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}