Skip to content

Commit

Permalink
chore: move actionlint configuration back to support pre-commit workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerruba committed Nov 21, 2024
1 parent d7f3f10 commit 8b43e78
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 35 deletions.
File renamed without changes.
File renamed without changes.
32 changes: 0 additions & 32 deletions .github/workflows/infra-checks.yml

This file was deleted.

6 changes: 3 additions & 3 deletions actionlint/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ runs:
repository: camunda/infra-global-github-actions
path: camunda-shared-actions
sparse-checkout: |
actionlint
.github
- name: Download actionlint
id: get_actionlint
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
shell: bash

- run: echo "::add-matcher::camunda-shared-actions/actionlint/config/actionlint-matcher.json"
- run: echo "::add-matcher::camunda-shared-actions/.github/actionlint-matcher.json"
shell: bash

- name: Check workflow files
run: ${{ steps.get_actionlint.outputs.executable }} -color -config-file camunda-shared-actions/actionlint/config/actionlint.yaml
run: ${{ steps.get_actionlint.outputs.executable }} -color -config-file camunda-shared-actions/.github/actionlint.yaml
shell: bash

0 comments on commit 8b43e78

Please sign in to comment.