diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 77fae6eb..53051556 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,6 +2,11 @@ name: Lint on: pull_request: + types: + - opened + - edited + - reopened + - synchronize workflow_dispatch: permissions: @@ -34,3 +39,15 @@ jobs: level: warning fail_on_error: true hadolint_ignore: DL3016 DL3018 # Ignore pinning apk and npm packages to specific version with @ + + actionlint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Lint Github Actions + uses: reviewdog/action-actionlint@v1 + env: + REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + reporter: github-pr-review