Skip to content

Commit 408903c

Browse files
authored
BRE-552 -Update Workflow Linter with actionlint config (#393)
1 parent df41fa6 commit 408903c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/workflow-linter.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,15 @@ jobs:
4242
echo "Workflow files changed: $count"
4343
echo "changed_files_count=$count" >> $GITHUB_OUTPUT
4444
45+
- name: Download actionlint configuration
46+
if: steps.changed-workflows.outputs.changed_files_count != '0'
47+
run: |
48+
curl \
49+
--fail \
50+
--create-dirs \
51+
--output .github/actionlint.yml \
52+
https://raw.githubusercontent.com/bitwarden/workflow-linter/refs/heads/main/.github/actionlint.yml
53+
4554
- name: Set up Python 3.12
4655
if: steps.changed-workflows.outputs.changed_files_count != '0'
4756
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0

0 commit comments

Comments
 (0)