Skip to content

Commit

Permalink
Update reflect_test_commit.yaml
Browse files Browse the repository at this point in the history
Added forced execution
  • Loading branch information
masesdevelopers authored Dec 19, 2024
1 parent 08158ea commit 61a23dc
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/reflect_test_commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -850,4 +859,4 @@ jobs:
done
echo "Done"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 61a23dc

Please sign in to comment.