⬆️ Update 👷 GitHub Action reviewdog/action-actionlint to 05c9d7b (#662) #1762
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
types: [synchronize, opened, edited] | |
jobs: | |
skip: | |
name: Skip Duplicate Actions | |
runs-on: ubuntu-latest | |
outputs: | |
should-skip: ${{steps.skip.outputs.should_skip}} | |
steps: | |
- name: Skip Duplicate Actions | |
uses: fkirc/skip-duplicate-actions@f75f66ce1886f00957d99748a42c724f4330bdcf # v5 | |
id: skip | |
actions: | |
name: Lint Action Workflows | |
runs-on: ubuntu-latest | |
needs: skip | |
if: needs.skip.outputs.should-skip != 'true' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- name: Review Dog - actionlint | |
uses: reviewdog/action-actionlint@05c9d7bef25a46caf572df3497afa7082fc111df # v1 | |
check: | |
name: Check | |
runs-on: ubuntu-latest | |
needs: skip | |
if: needs.skip.outputs.should-skip != 'true' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- name: Setup Node | |
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4 | |
with: | |
cache-dependency-path: "**/package-lock.json" | |
cache: npm | |
- name: Install Tools | |
run: npm ci | |
- name: Check | |
run: npm run --silent check |