File tree 4 files changed +21
-7
lines changed
4 files changed +21
-7
lines changed Original file line number Diff line number Diff line change 16
16
name : Synchronize PR check workflows
17
17
files : ^.github/workflows/__.*\.yml$|^pr-checks
18
18
language : system
19
- entry : python3 pr-checks/sync.py
19
+ entry : pr-checks/sync.sh
20
20
pass_filenames : false
Original file line number Diff line number Diff line change
1
+ # Sync generated files (javascript and PR checks)
2
+ sync : build update-pr-checks
3
+
4
+ # Perform all necessary steps to update the PR checks
5
+ update-pr-checks :
6
+ pr-checks/ sync.sh
7
+
8
+ # Transpile typescript code into javascript
9
+ build :
10
+ npm run build
Original file line number Diff line number Diff line change 1
- # Perform all necessary steps to update the PR checks
2
- update-pr-checks :
3
- python3 -m venv env
4
- source env / bin/ activate
5
- pip3 install ruamel.yaml
6
- python3 sync.py
1
+ set fallback := true
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -e
3
+
4
+ cd " $( dirname " $0 " ) "
5
+ python3 -m venv env
6
+ source env/bin/activate
7
+ pip3 install ruamel.yaml
8
+ python3 sync.py
9
+
You can’t perform that action at this time.
0 commit comments