File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow uses a Personal Access Token instead of built-in GITHUB_TOKEN to create the pull request
2
+ # This is necessary because it commits changes to workflow files, which is not allowed with the default GITHUB_TOKEN.
3
+ # See example https://github.com/peter-evans/create-pull-request/issues/3558
4
+ # The PAT needs to have `contents: write` `pull-requests: write` and `workflows: write` permissions.
5
+
1
6
name : Update Self-References
2
7
3
8
on :
36
41
- name : Create Pull Request
37
42
uses : peter-evans/create-pull-request@v7
38
43
with :
44
+ token : ${{ secrets.EXERCISE_TOOLKIT_TOKEN }}
39
45
commit-message : " chore: update exercise-toolkit self-references to latest commit"
40
46
title : " chore: update exercise-toolkit self-references to latest commit"
41
47
body : |
50
56
add-paths : |
51
57
.github/workflows/*.yml
52
58
draft : false
53
- reviewers : |
54
- FidelusAleksander
55
59
labels : |
56
60
skip-release-notes
57
- maintenance
You can’t perform that action at this time.
0 commit comments