Skip to content

Commit

Permalink
Add a linter for GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
willingc authored and lwasser committed Nov 18, 2024
1 parent d9d34a6 commit daf1bdf
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Used to lint GitHub actions. https://github.com/rhysd/actionlint
name: Actionlint

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

jobs:
actionlint:
name: Action lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check workflow files
run: |
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
./actionlint -color -ignore SC2129
shell: bash

0 comments on commit daf1bdf

Please sign in to comment.