File tree Expand file tree Collapse file tree 2 files changed +36
-9
lines changed Expand file tree Collapse file tree 2 files changed +36
-9
lines changed Original file line number Diff line number Diff line change 1+ name : Test workflow
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ environment :
7+ description : ' Environment to run the workflow in'
8+ required : true
9+ type : environment
10+ reason :
11+ description : ' Reason for running the workflow'
12+ required : true
13+ type : string
14+ environment-optional :
15+ description : ' Environment to run the workflow in'
16+ required : false
17+ type : environment
18+ choices-input :
19+ type : choice
20+ required : false
21+ options :
22+ - option 1
23+ - option 2
24+ description : " Choice input"
25+
26+
27+ jobs :
28+ ruff :
29+ runs-on : ubuntu-latest
30+ name : " ruff on code"
31+ permissions :
32+ contents : read
33+ steps :
34+ - uses : actions/checkout@v5
35+ with :
36+ persist-credentials : false
Original file line number Diff line number Diff line change 88 branches :
99 - master
1010 workflow_dispatch :
11- inputs :
12- environment :
13- description : ' Environment to run the workflow in'
14- required : true
15- type : environment
16- reason :
17- description : ' Reason for running the workflow'
18- required : true
19- type : string
2011
2112jobs :
2213 ruff :
You can’t perform that action at this time.
0 commit comments