Skip to content

Commit a4c2850

Browse files
authored
Merge pull request #5 from EnderModuBot/bug/3-rechte-vergessen-end
chore: update permissions and remove unnecessary jq dependency in set…
2 parents 3eb4d9e + 6d7dda5 commit a4c2850

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/setup.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
paths:
99
- '.github/workflows/setup.yml'
1010

11+
permissions:
12+
contents: write
13+
1114
jobs:
1215
minimal-setup:
1316
if: github.repository != 'EnderModuBot/template'
@@ -22,7 +25,7 @@ jobs:
2225
curl -s -X PATCH "https://api.github.com/repos/${{ github.repository }}" \
2326
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
2427
-H "Accept: application/vnd.github+json" \
25-
-d '{"delete_branch_on_merge":true}' | jq
28+
-d '{"delete_branch_on_merge":true}'
2629
env:
2730
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2831

0 commit comments

Comments
 (0)