github.com/oam-dev/kubevela@v1.9.11/.github/workflows/commit-lint.yml (about)

     1  name: PR Title Checker
     2  on:
     3    pull_request:
     4      types:
     5        - opened
     6        - edited
     7        - synchronize
     8        - labeled
     9        - unlabeled
    10  
    11  permissions:
    12    pull-requests: read
    13  
    14  jobs:
    15    check:
    16      runs-on: ubuntu-22.04
    17      steps:
    18        - uses: thehanimo/pr-title-checker@v1.4.1
    19          with:
    20            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    21            pass_on_octokit_error: true
    22            configuration_path: ".github/pr-title-checker-config.json"