We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7a9582 commit 6c1b9dfCopy full SHA for 6c1b9df
.github/workflows/apbx.yaml
@@ -6,6 +6,13 @@ on:
6
- "src/**"
7
- "**/*.yaml"
8
- "**/*.yml"
9
+ workflow_dispatch:
10
+ inputs:
11
+ branch:
12
+ description: 'Branch or ref to run workflow on'
13
+ required: true
14
+ default: 'main'
15
+ type: string
16
17
env:
18
SXSC_REPO: "https://github.com/Atlas-OS/sxsc"
@@ -18,7 +25,7 @@ jobs:
25
- name: Checkout code
19
26
uses: actions/checkout@v4
20
27
with:
21
- ref: ${{ github.ref }}
28
+ ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.branch || github.ref }}
22
29
token: ${{ secrets.RUNNER_SECRET }}
23
30
24
31
- name: Validate YAML files
0 commit comments