github.com/bufbuild/connect-grpchealth-go@v1.1.1/.github/workflows/pr-title.yaml (about)

     1  name: Lint PR Title
     2  # Prevent writing to the repository using the CI token.
     3  # Ref: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#permissions
     4  permissions:
     5    pull-requests: read
     6  on:
     7    pull_request:
     8      # By default, a workflow only runs when a pull_request's activity type is opened,
     9      # synchronize, or reopened. We explicity override here so that PR titles are
    10      # re-linted when the PR text content is edited.
    11      types:
    12        - opened
    13        - edited
    14        - reopened
    15        - synchronize
    16  jobs:
    17    lint:
    18      uses: bufbuild/base-workflows/.github/workflows/pr-title.yaml@main