File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed
Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change 88
99permissions :
1010 contents : write
11+ pull-requests : write
1112
1213jobs :
1314 extract :
@@ -25,10 +26,13 @@ jobs:
2526 - name : Run extraction script
2627 run : node .github/scripts/extract-classnames.js
2728
28- - name : Commit and push updated class-names.json
29- run : |
30- git config user.name "github-actions[bot]"
31- git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
32- git add class-names.json
33- git commit -m "Update class-names.json" || echo "No changes"
34- git push
29+ - name : Create or Update Pull Request
30+ uses : peter-evans/create-pull-request@v6
31+ with :
32+ commit-message : " Update class-names.json"
33+ branch : update-class-names
34+ title : " Update class-names.json"
35+ body : " Automated update of class-names.json"
36+ labels : automated
37+ assignees : rgantzos
38+ delete-branch : true
You can’t perform that action at this time.
0 commit comments