Skip to content

Commit d19f7f0

Browse files
authored
Skip the "path-filter" step when "test-all" is set to true. (#12041)
1 parent 85136f8 commit d19f7f0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ jobs:
3636
endsWith(github.ref, '/master') ||
3737
endsWith(github.ref, '/develop') ||
3838
contains(github.ref, '/release/') ||
39-
(github.event_name == 'workflow_dispatch' && inputs.test-all == true) ||
40-
(github.event_name == 'workflow_call' && inputs.test-all == true)
39+
inputs['test-all'] == true
4140
}}
4241
build-handsontable-es-cjs: ${{ steps.path-filter.outputs.build-handsontable-es-cjs }}
4342
build-handsontable-umd: ${{ steps.path-filter.outputs.build-handsontable-umd }}
@@ -52,9 +51,10 @@ jobs:
5251
test-visual: ${{ steps.path-filter.outputs.test-visual }}
5352
steps:
5453
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # https://github.com/actions/checkout/releases/tag/v4.1.1
55-
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call' }}
54+
if: ${{ inputs['test-all'] != true }}
5655
- uses: dorny/paths-filter@ebc4d7e9ebcb0b1eb21480bb8f43113e996ac77a # https://github.com/dorny/paths-filter/releases/tag/v3.0.1
5756
id: path-filter
57+
if: ${{ inputs['test-all'] != true }}
5858
with:
5959
filters: |
6060
config-files: &config-files

0 commit comments

Comments
 (0)