@@ -4,41 +4,41 @@ name: Fix UMDP3
44on :
55 workflow_call :
66 inputs :
7- runner :
8- description : ' The runner to use for the job'
9- required : false
10- type : string
11- default : ' ubuntu-24.04'
12- timeout :
13- description : ' The time limit for the workflow, default 10 minutes'
14- required : false
15- type : number
16- default : 10
7+ runner :
8+ description : ' The runner to use for the job'
9+ required : false
10+ type : string
11+ default : ' ubuntu-24.04'
12+ timeout :
13+ description : ' The time limit for the workflow, default 10 minutes'
14+ required : false
15+ type : number
16+ default : 10
1717
1818permissions : read-all
1919
2020jobs :
21- umdp3_fixer :
22- runs-on : ${{ inputs.runner }}
23- timeout-minutes : ${{ inputs.timeout }}
21+ umdp3_fixer :
22+ runs-on : ${{ inputs.runner }}
23+ timeout-minutes : ${{ inputs.timeout }}
2424
25- steps :
26- - name : Checkout Branch
27- uses : actions/checkout@v4
28- with :
29- path : pr_branch
30- token : ${{ secrets.GITHUB_TOKEN }}
31- - name : Checkout SimSys_Scripts
32- uses : actions/checkout@v4
33- with :
34- repository : MetOffice/SimSys_Scripts
35- sparse-checkout : umdp3_fixer
36- path : SimSys_Scripts
37- - name : Set up Python 3.14
38- uses : actions/setup-python@v5
39- with :
40- python-version : 3.14
41- - name : Run UMDP3 Fixer
42- working-directory : ./SimSys_Scripts/umdp3_fixer
43- run : |
44- python rosestem_branch_checker.py --source "${GITHUB_WORKSPACE}/pr_branch" --fixer_source . --col 80
25+ steps :
26+ - name : Checkout Branch
27+ uses : actions/checkout@v4
28+ with :
29+ path : pr_branch
30+ token : ${{ secrets.GITHUB_TOKEN }}
31+ - name : Checkout SimSys_Scripts
32+ uses : actions/checkout@v4
33+ with :
34+ repository : MetOffice/SimSys_Scripts
35+ sparse-checkout : umdp3_fixer
36+ path : SimSys_Scripts
37+ - name : Set up Python 3.14
38+ uses : actions/setup-python@v5
39+ with :
40+ python-version : 3.14
41+ - name : Run UMDP3 Fixer
42+ working-directory : ./SimSys_Scripts/umdp3_fixer
43+ run : |
44+ python rosestem_branch_checker.py --source "${GITHUB_WORKSPACE}/pr_branch" --fixer_source . --col 80
0 commit comments