Skip to content

Commit

Permalink
[ci] Add actionlint workflow
Browse files Browse the repository at this point in the history
Authored by: bashonly
  • Loading branch information
bashonly committed Jun 2, 2024
1 parent db50f19 commit 41affb1
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/action-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Action Lint
on:
push:
paths:
- .github/workflows/*.yml
pull_request:
paths:
- .github/workflows/*.yml
permissions:
contents: read

jobs:
lint-workflows:
name: Lint Workflows
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: actionlint
uses: raven-actions/actionlint@v1
env:
SHELLCHECK_OPTS: '-e SC1090,SC2034,SC2078'
with:
cache: false
files: '.github/workflows/*.yml'
# flags: '-ignore SC1090 -ignore SC2034 -ignore SC2078'

0 comments on commit 41affb1

Please sign in to comment.