Skip to content

Commit a1b65a2

Browse files
committed
fix(ci): add SKIP input to conditionally bypass workflow execution
Signed-off-by: Nikolai Emil Damm <[email protected]>
1 parent 90a7569 commit a1b65a2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci-gitops-test.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ on:
1515
ROOT_CA_CERT_FILE:
1616
required: false
1717
type: string
18+
SKIP:
19+
required: false
20+
type: boolean
1821
### Required Workflow Triggers ###
1922
pull_request:
2023
merge_group:
@@ -24,7 +27,7 @@ jobs:
2427
test:
2528
runs-on: ubuntu-latest
2629
# Ignore Require Workflow runs
27-
if: github.repository != 'devantler-tech/reusable-workflows'
30+
if: github.repository != 'devantler-tech/reusable-workflows' && inputs.SKIP != true
2831
steps:
2932
- name: 📑 Checkout
3033
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

0 commit comments

Comments
 (0)