File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Check for new CRuby releases on Windows
2+ on :
3+ schedule :
4+ - cron : ' 0 7,19 * * *'
5+ workflow_dispatch :
6+ jobs :
7+ check_windows_versions :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v4
11+ with :
12+ fetch-depth : 0
13+
14+ - run : ruby generate-windows-versions.rb
15+
16+ - name : TODO for testing
17+ run : echo >> windows-versions.json
18+
19+ - id : diff
20+ run : git diff --exit-code
21+ continue-on-error : true
22+
23+ - if : ${{ steps.diff.outcome == 'failure' }} # changed
24+ run : ./pre-commit
25+ shell : bash
26+
27+ - if : ${{ steps.diff.outcome == 'failure' }} # changed
28+ uses : peter-evans/create-pull-request@v8
29+ id : pr
30+ with :
31+ base : master
32+ branch : windows
33+ title : Update CRuby releases on Windows
34+ commit-message : Update CRuby releases on Windows
35+ body : Automated PR
36+
37+ - if : ${{ steps.diff.outcome == 'failure' }} # changed
38+ name : PR URL
39+ run : echo "${{ steps.pr.outputs.pull-request-url }}"
40+ shell : bash
You can’t perform that action at this time.
0 commit comments