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 : Generate Bindings
2+ on :
3+ workflow_dispatch :
4+ push :
5+ branches : [main]
6+ paths :
7+ - .github/workflows/generate_bindings.yml
8+ - gen/**
9+ pull_request :
10+ branches : [main]
11+ paths :
12+ - .github/workflows/generate_bindings.yml
13+ - gen/**
14+ concurrency :
15+ group : ${{ github.workflow }}-${{ github.ref || github.run_id }}
16+ cancel-in-progress : true
17+ jobs :
18+ generate-bindings :
19+ name : Generate bindings
20+ runs-on : ubuntu-22.04
21+ timeout-minutes : 20
22+ steps :
23+ - uses : actions/checkout@v4
24+
25+ - uses : julia-actions/setup-julia@v1
26+ with :
27+ version : " 1.10.2"
28+
29+ - name : Run the generator
30+ run : ./gen/generate.sh
31+
32+ - name : Create Pull Request (on push)
33+ if : ${{ github.event_name == 'push' }}
34+ uses : peter-evans/create-pull-request@v6
35+ with :
36+ commit-message : " Regenerate bindings"
37+ title : " Regenerate bindings"
38+ reviewers : |
39+ quinnj
40+ Octogonapus
41+
42+ - name : Create Pull Request (on PR)
43+ if : ${{ github.event_name == 'pull_request' }}
44+ uses : peter-evans/create-pull-request@v6
45+ with :
46+ base : ${{ github.head_ref }}
47+ commit-message : " Regenerate bindings"
48+ title : " Regenerate bindings"
49+ reviewers : |
50+ quinnj
51+ Octogonapus
You can’t perform that action at this time.
0 commit comments