Skip to content

Commit a59c75f

Browse files
committed
try fix update CoC permissions
1 parent a3b6f05 commit a59c75f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/update_coc.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,14 @@ on:
1414
schedule:
1515
- cron: '0 0 * * 0'
1616

17-
permissions:
18-
contents: write
19-
issues: write
20-
pull-requests: write
2117

2218
jobs:
2319
update_code_of_conduct:
20+
permissions:
21+
contents: write
22+
issues: write
23+
pull-requests: write
24+
2425
runs-on: ubuntu-latest
2526

2627
steps:
@@ -59,9 +60,9 @@ jobs:
5960
uses: peter-evans/create-pull-request@v7
6061
with:
6162
token: ${{ secrets.GITHUB_TOKEN }}
62-
branch: update-coc
63+
branch: bot-update-coc
6364
add-paths: |
6465
CODE_OF_CONDUCT.md
65-
title: "Update Code of Conduct"
66+
title: "🤖 Update Code of Conduct 🤖"
6667
body: "Update the Code of Conduct with the latest version from the django-commons repository."
6768
commit-message: "Update CODE_OF_CONDUCT.md from django-commons"

0 commit comments

Comments
 (0)