⬆️ Update 👷 GitHub Action reviewdog/action-actionlint to 15a7a47 (#368) #1512
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@15a7a477ab5ab768a41c39b2c53970bf151c73f3 # 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@e09f07780388032a624e9eb44a23fd1bbb4052cc # v1 | |
with: | |
yamllint_flags: >- | |
--config-file ${{github.workspace}}/.github/settings/yamllint.yml | |
${{github.workspace}} |