github.com/Finschia/ostracon@v1.1.5/.github/workflows/linter.yml (about)

     1  name: Linter
     2  on:
     3    push:
     4      paths:
     5        - "**.md"
     6        - "**.yml"
     7        - "**.yaml"
     8    pull_request:
     9      paths:
    10        - "**.md"
    11        - "**.yml"
    12  
    13  jobs:
    14    build-linter:
    15      name: Super linter
    16      runs-on: ubuntu-latest
    17      steps:
    18        - name: Checkout Code
    19          uses: actions/checkout@v4
    20        - name: Lint Code Base
    21          uses: github/super-linter@v5
    22          env:
    23            DEFAULT_BRANCH: main
    24            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    25            # https://github.com/github/super-linter#example-connecting-github-action-workflow
    26            # Note: All the VALIDATE_[LANGUAGE] variables behave in a very specific way:
    27            #
    28            #  If none of them are passed, then they all default to true.
    29            #  If any one of the variables are set to true, we default to leaving any unset variable to false (only validate those languages).
    30            #  If any one of the variables are set to false, we default to leaving any unset variable to true (only exclude those languages).
    31            #  If there are VALIDATE_[LANGUAGE] variables set to both true and false. It will fail.
    32            VALIDATE_ALL_CODEBASE: true
    33            VALIDATE_MD: true
    34            VALIDATE_OPENAPI: true
    35            VALIDATE_YAML: true