name: ActionLint
on: workflow_call
env:
  REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.CREW_PR_TOKEN }}
  GH_TOKEN: ${{ secrets.CREW_PR_TOKEN }}
  REVIEWDOG_TOKEN: ${{ secrets.CREW_PR_TOKEN }}
  SHELLCHECK_OPTS: "-e SC2086 -e SC2129 -e SC2155"
jobs:
  actionlint:
    runs-on: ubuntu-24.04
    permissions:
      contents: read
      pull-requests: write
    steps:
      - uses: actions/checkout@v5
      - name: Actionlint
        uses: reviewdog/action-actionlint@v1
        with:
          fail_level: any
          reporter: github-pr-review
