File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 paths :
1515 - ' **'
1616
17+ workflow_dispatch :
18+
1719permissions :
1820 contents : write
1921
Original file line number Diff line number Diff line change 1414 paths :
1515 - ' **'
1616
17+ workflow_dispatch :
18+
1719jobs :
1820 test :
1921 runs-on : ${{ matrix.os }}
Original file line number Diff line number Diff line change 1414 paths :
1515 - ' **'
1616
17+ workflow_dispatch :
18+
1719jobs :
1820 test :
1921 runs-on : ${{ matrix.os }}
Original file line number Diff line number Diff line change 33 schedule :
44 - cron : ' 00 00 * * *'
55 workflow_dispatch :
6+
7+ permissions :
8+ contents : write
9+ pull-requests : write
10+ actions : write
11+
612jobs :
713 update_compat :
814 runs-on : ubuntu-latest
3844 fi
3945
4046 - name : " Create PR if necessary"
47+ id : cpr
4148 uses : peter-evans/create-pull-request@v8
4249 with :
4350 branch : backend-update/v${{ steps.get-latest.outputs.version }}
5158 add-paths : |
5259 pyproject.toml
5360 pysr/juliapkg.json
61+
62+ - name : " Trigger CI workflows (backend update PR)"
63+ if : steps.cpr.outputs.pull-request-number != ''
64+ env :
65+ GH_TOKEN : ${{ github.token }}
66+ run : |
67+ ref="backend-update/v${{ steps.get-latest.outputs.version }}"
68+ gh workflow run "Linux" --repo "$GITHUB_REPOSITORY" --ref "$ref" || true
69+ gh workflow run "macOS" --repo "$GITHUB_REPOSITORY" --ref "$ref" || true
70+ gh workflow run "Windows" --repo "$GITHUB_REPOSITORY" --ref "$ref" || true
You can’t perform that action at this time.
0 commit comments