diff --git a/.github/workflows/reflect_test_commit.yaml b/.github/workflows/reflect_test_commit.yaml index 44c90723c6..0f3a41811e 100644 --- a/.github/workflows/reflect_test_commit.yaml +++ b/.github/workflows/reflect_test_commit.yaml @@ -8,6 +8,15 @@ on: push: # only trigger on branches, not on tags branches: '**' + paths-ignore: + - 'docs/**' + workflow_dispatch: + inputs: + ForceExecution: + description: 'Force execution of workflow' + required: false + default: true + type: boolean # This workflow contains two jobs called "check" and "build_windows" jobs: @@ -53,7 +62,7 @@ jobs: # This workflow contains a single job called "build" build_windows: needs: check - if: needs.check.outputs.run_job == 'true' + if: ${{ needs.check.outputs.run_job == 'true' || inputs.ForceExecution == true }} # The type of runner that the job will run on runs-on: windows-2022 @@ -850,4 +859,4 @@ jobs: done echo "Done" env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}