From 6d7dda53219b685abef0e142356d054f4d05a7b6 Mon Sep 17 00:00:00 2001 From: Endkind Date: Mon, 16 Jun 2025 11:56:19 +0200 Subject: [PATCH] chore: update permissions and remove unnecessary jq dependency in setup workflow --- .github/workflows/setup.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 }}