Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
3a8493f
ci: add action-lint workflow
shimoncohen Sep 10, 2025
614b55b
ci: add action-lint check for actions directory
shimoncohen Sep 11, 2025
2707c94
ci: refactor action-lint workflow and fail on error
shimoncohen Sep 11, 2025
84a9008
Update .github/workflows/action-lint.yaml
shimoncohen Sep 14, 2025
6a75358
ci: make sure actions directory exists
shimoncohen Sep 14, 2025
f261ebc
Merge branch 'add-action-lint-workflow' of github.com:MapColonies/sha…
shimoncohen Sep 14, 2025
f95215a
Update .github/workflows/action-lint.yaml
shimoncohen Sep 14, 2025
e6cbe52
ci: add checksum check for reviewdog
shimoncohen Sep 14, 2025
f7fcea7
Update .github/workflows/action-lint.yaml
shimoncohen Sep 14, 2025
ab50056
chore: add double quotes for variables
shimoncohen Sep 14, 2025
4057f19
refactor: build yaml files list and pass to reviewdog as actionlint f…
shimoncohen Sep 14, 2025
af0709c
chore: double quote parameters
shimoncohen Sep 14, 2025
b8b2f15
chore: double quote parameters
shimoncohen Sep 14, 2025
3ac9832
chore: remove quotes
shimoncohen Sep 14, 2025
fcad6d9
chore: disable SC2086 shell check for github actions output
shimoncohen Sep 14, 2025
1db71a6
ci: split actionlint to two seperate actions for workflows and actions
shimoncohen Sep 17, 2025
55b2eff
Update .github/workflows/action-lint-actions.yaml
shimoncohen Sep 20, 2025
ad9e6b7
Update .github/workflows/action-lint-workflows.yaml
shimoncohen Sep 20, 2025
d09055a
ci: run only when updating relevant paths
shimoncohen Sep 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/action-lint-actions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: reviewdog
on:
pull_request:
paths:
- "actions/**"

jobs:
actionlint-actions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Build actionlint flags
id: build_flags
run: |
files="$(find actions -type f \( -name 'action.yml' -o -name 'action.yaml' \) | paste -sd' ' -)"
# shellcheck disable=SC2086
echo "flags=$files" >> $GITHUB_OUTPUT
- uses: reviewdog/action-actionlint@a5524e1c19e62881d79c1f1b9b6f09f16356e281 # v1.65.2
with:
github_token: ${{ secrets.GH_PAT }}
reporter: github-pr-review
actionlint_flags: ${{ steps.build_flags.outputs.flags }}
fail_level: error
16 changes: 16 additions & 0 deletions .github/workflows/action-lint-workflows.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: reviewdog
on:
pull_request:
paths:
- ".github/workflows/**"

jobs:
actionlint-workflows:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: reviewdog/action-actionlint@a5524e1c19e62881d79c1f1b9b6f09f16356e281 # v1.65.2
with:
github_token: ${{ secrets.GH_PAT }}
reporter: github-pr-review
fail_level: error