File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change 1
1
name : " Generate contributors"
2
2
3
3
on :
4
- schedule :
5
- - cron : " 0 0 1 * *"
4
+ workflow_dispatch :
6
5
7
6
env :
8
7
PRIMARY_NODE_VERSION : 12
@@ -37,13 +36,10 @@ jobs:
37
36
- name : Generate contributors
38
37
run : yarn generate:contributors
39
38
40
- - name : Commit files
41
- run : |
42
- git config --local user.email "actions@github.com"
43
- git config --local user.name "Github Actions"
44
- git commit -am "chore: update contributors [bot]"
45
-
46
- - name : Push changes
47
- uses : ad-m/github-push-action@master
39
+ - name : Create Pull Request
40
+ uses : peter-evans/create-pull-request@v3
48
41
with :
49
- github_token : ${{ secrets.GITHUB_TOKEN }}
42
+ token : ${{ secrets.GITHUB_TOKEN }}
43
+ commit-message : " chore: update contributors"
44
+ title : " chore: update contributors"
45
+ branch : auto-update-contributors
You can’t perform that action at this time.
0 commit comments