Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

account for the case where something changes in github/workflows and it isn't a workflow (#78904)

Chris Vandoodewaard71b85f37107b
diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml
index 26a349b258d..24ca7d02469 100644
--- a/.github/workflows/actionlint.yml
+++ b/.github/workflows/actionlint.yml
@@ -29,6 +29,7 @@ jobs:
filters: .github/file-paths.yaml
list-files: shell
- name: Setup actionlint
+ if: steps.changes.outputs.actionlint == 'true'
id: download
shell: bash
run: |
@@ -39,4 +40,5 @@ jobs:
bash <(curl -fsSL https://raw.githubusercontent.com/rhysd/actionlint/v1.7.12/scripts/download-actionlint.bash)
fi
- name: Run actionlint
+ if: steps.changes.outputs.actionlint == 'true'
run: ${{ steps.download.outputs.executable }} --color --verbose ${{ steps.changes.outputs.actionlint_files }}