File tree Expand file tree Collapse file tree 1 file changed +19
-7
lines changed Expand file tree Collapse file tree 1 file changed +19
-7
lines changed Original file line number Diff line number Diff line change 13
13
runs-on : ubuntu-latest
14
14
permissions :
15
15
contents : write
16
+ pull-requests : write
16
17
17
18
steps :
18
19
- uses : actions/checkout@v4
@@ -25,10 +26,21 @@ jobs:
25
26
- name : Update README
26
27
run : node scripts/update-patterns-list.js
27
28
28
- - name : Commit changes
29
- run : |
30
- git config --local user.email "github-actions[bot]@users.noreply.github.com"
31
- git config --local user.name "github-actions[bot]"
32
- git add README.md
33
- git diff --quiet && git diff --staged --quiet || git commit -m "docs: update patterns list [skip ci]"
34
- git push
29
+ - name : Create Pull Request
30
+ uses : peter-evans/create-pull-request@v6
31
+ with :
32
+ token : ${{ secrets.GITHUB_TOKEN }}
33
+ commit-message : " docs: update patterns list [skip ci]"
34
+ title : " docs: update patterns list"
35
+ body : |
36
+ This PR updates the patterns list in README.md based on the current state of patterns in the repository.
37
+
38
+ - Updates completion status of patterns
39
+ - Adds new patterns
40
+ - Updates links to completed patterns
41
+ branch : update-patterns-list
42
+ base : main
43
+ delete-branch : true
44
+ labels : |
45
+ documentation
46
+ automated pr
You can’t perform that action at this time.
0 commit comments