Skip to content

Commit 8a0e97b

Browse files
committed
fix
1 parent eae89d1 commit 8a0e97b

File tree

2 files changed

+36
-9
lines changed

2 files changed

+36
-9
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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

.github/workflows/test.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,6 @@ on:
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

2112
jobs:
2213
ruff:

0 commit comments

Comments
 (0)