Skip to content

Commit

Permalink
feat(ci): lint github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
matoous committed Jan 20, 2025
1 parent aa9ab42 commit 66fbc82
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/lint-actions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Github Actions

on:
pull_request:
paths:
- '.github/**'

defaults:
run:
working-directory: ./.github

permissions:
contents: read

jobs:
actionlint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
sparse-checkout: |
.github
- uses: reviewdog/action-actionlint@abd537417cf4991e1ba8e21a67b1119f4f53b8e0 # v1.64.1
with:
filter_mode: nofilter
fail_on_error: true
reporter: github-pr-check

0 comments on commit 66fbc82

Please sign in to comment.