Skip to content

Commit ec243f3

Browse files
authored
Merge pull request #12 from kontrolplane/levivannoort-patch-1
chore: prevent error on pull request creation
2 parents ffaef4c + 19a5ba5 commit ec243f3

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/update-contributors.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
schedule:
66
- cron: '0 0 * * 0'
77

8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
812
jobs:
913
update-contributors:
1014
name: validate-pull-request-title
@@ -14,7 +18,7 @@ jobs:
1418
uses: actions/checkout@v4
1519

1620
- name: update-contributors
17-
uses: kontrolplane/generate-contributors-list@v1.0.0
21+
uses: kontrolplane/generate-contributors-list@v1.1.0
1822
with:
1923
owner: kontrolplane
2024
repository: pull-request-title-validator
@@ -36,6 +40,7 @@ jobs:
3640
run: |
3741
git config user.name github-actions
3842
git config user.email github-actions@github.com
43+
git checkout -b update-contributors
3944
git add README.md
4045
git commit -m "chore: update contributors section"
4146
git push -u origin update-contributors

0 commit comments

Comments
 (0)