Skip to content

Commit 8efe49b

Browse files
committed
add conditional to run shell check
1 parent 0507adc commit 8efe49b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/gem_ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,17 @@ on:
2424
required: false
2525
default: "ubuntu-latest"
2626
type: "string"
27+
run_shellcheck:
28+
description: "Run shellcheck on all bash files"
29+
required: false
30+
default: false
31+
type: "boolean"
2732

2833
jobs:
2934
shellcheck:
3035
name: "shellcheck"
3136
runs-on: ${{ inputs.runs_on }}
37+
if: ${{ inputs.run_shellcheck }}
3238
steps:
3339
- uses: actions/checkout@v4
3440
- name: shellcheck

0 commit comments

Comments
 (0)