⬆️ Update 👷 GitHub Action reviewdog/action-yamllint to 508148c #1436
Workflow file for this run
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: Lint Actions | |
on: | |
pull_request: | |
paths: [.github/**.yml] | |
types: [synchronize, edited, opened] | |
push: | |
paths: [.github/**.yml] | |
jobs: | |
skip: | |
name: Check Duplicate Actions | |
#continue-on-error: true | |
runs-on: ubuntu-latest | |
outputs: | |
should-skip: ${{ steps.skip-check.outputs.should_skip }} | |
steps: | |
- name: Skip Duplicate Actions (Lint Actions) | |
uses: fkirc/skip-duplicate-actions@f75f66ce1886f00957d99748a42c724f4330bdcf # v5 | |
id: skip-check | |
actions: | |
name: 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@afad3b6ab835e5611bda8c8193377e2d5c21413d # v1 | |
yaml: | |
name: YAML | |
runs-on: ubuntu-latest | |
needs: skip | |
if: needs.skip.outputs.should-skip != 'true' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- name: Review Dog - yamllint | |
uses: reviewdog/action-yamllint@508148c0d959b166798f9792d1b29dddcac37348 # v1 | |
with: | |
yamllint_flags: >- | |
--config-file ${{github.workspace}}/.github/settings/yamllint.yml | |
${{github.workspace}} |