[Fix #12309] Add new Style/SuperArguments
cop
#2531
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: Linting | |
on: | |
pull_request: | |
paths: | |
- '**/*.yaml' | |
- '**/*.yml' | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
yamllint: | |
permissions: | |
contents: read # for actions/checkout to fetch code | |
pull-requests: write # for karancode/yamllint-github-action to post comments on PRs | |
name: Yamllint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Yamllint | |
uses: karancode/yamllint-github-action@v2.1.1 | |
with: | |
yamllint_strict: true | |
yamllint_format: parsable | |
yamllint_comment: true | |
env: | |
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} |