Skip to content

Commit 61a23dc

Browse files
Update reflect_test_commit.yaml
Added forced execution
1 parent 08158ea commit 61a23dc

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/reflect_test_commit.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@ on:
88
push:
99
# only trigger on branches, not on tags
1010
branches: '**'
11+
paths-ignore:
12+
- 'docs/**'
13+
workflow_dispatch:
14+
inputs:
15+
ForceExecution:
16+
description: 'Force execution of workflow'
17+
required: false
18+
default: true
19+
type: boolean
1120

1221
# This workflow contains two jobs called "check" and "build_windows"
1322
jobs:
@@ -53,7 +62,7 @@ jobs:
5362
# This workflow contains a single job called "build"
5463
build_windows:
5564
needs: check
56-
if: needs.check.outputs.run_job == 'true'
65+
if: ${{ needs.check.outputs.run_job == 'true' || inputs.ForceExecution == true }}
5766
# The type of runner that the job will run on
5867
runs-on: windows-2022
5968

@@ -850,4 +859,4 @@ jobs:
850859
done
851860
echo "Done"
852861
env:
853-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
862+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)