We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3eb4d9e + 6d7dda5 commit a4c2850Copy full SHA for a4c2850
1 file changed
.github/workflows/setup.yml
@@ -8,6 +8,9 @@ on:
8
paths:
9
- '.github/workflows/setup.yml'
10
11
+permissions:
12
+ contents: write
13
+
14
jobs:
15
minimal-setup:
16
if: github.repository != 'EnderModuBot/template'
@@ -22,7 +25,7 @@ jobs:
22
25
curl -s -X PATCH "https://api.github.com/repos/${{ github.repository }}" \
23
26
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
24
27
-H "Accept: application/vnd.github+json" \
- -d '{"delete_branch_on_merge":true}' | jq
28
+ -d '{"delete_branch_on_merge":true}'
29
env:
30
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31
0 commit comments