Skip to content

Commit

Permalink
add action lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
okuzawats committed Jul 2, 2024
1 parent c14d70e commit 8fd307a
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "actionlint"

on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
types: [ "opened", "synchronize" ]

jobs:
actionlint:
runs-on: "ubuntu-latest"
steps:
- name: "checkout"
uses: "actions/checkout@v4"
- name: "review action"
uses: "reviewdog/action-actionlint@v1"
with:
github_token: "${{ secrets.GITHUB_TOKEN }}"
reporter: "github-pr-review"
level: "warning"
fail_on_error: true

0 comments on commit 8fd307a

Please sign in to comment.