File tree Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Weekly Pull Requests
2+
3+ on :
4+ schedule :
5+ # https://crontab.guru/once-a-week
6+ - cron : " 0 0 * * 0"
7+
8+ jobs :
9+ weekly_pull_requests :
10+ strategy :
11+ fail-fast : false
12+ matrix :
13+ actions :
14+ -
15+ name : " Re-Generate Nodes Documentation"
16+ run : " bin/console dump-nodes --output-file docs/nodes_overview.md --ansi"
17+ branch : ' automated-regenerate-node-documentation'
18+
19+ name : ${{ matrix.actions.name }}
20+ runs-on : ubuntu-latest
21+
22+ steps :
23+ -
24+ uses : actions/checkout@v2
25+ with :
26+ token : ${{ secrets.ACCESS_TOKEN }}
27+
28+ -
29+ uses : shivammathur/setup-php@v2
30+ with :
31+ php-version : 8.0
32+ coverage : none
33+
34+ -
35+ run : composer install --no-progress --ansi
36+
37+ -
38+ run : ${{ matrix.actions.run }}
39+
40+ # see https://github.com/peter-evans/create-pull-request
41+ -
42+ name : Create pull-request
43+ uses : peter-evans/create-pull-request@v3
44+ with :
45+ token : ${{ secrets.GITHUB_TOKEN }}
46+ commit-message : " [automated] ${{ matrix.actions.name }}"
47+ base : ' master'
48+ branch : ${{ matrix.actions.branch }}
49+ title : ' [automated] ${{ matrix.actions.name }}'
50+ delete-branch : true
51+ author : " kaizen-ci <info@kaizen-ci.org>"
You can’t perform that action at this time.
0 commit comments