github.com/argoproj/argo-cd/v3@v3.2.1/.github/workflows/pr-title-check.yml (about)

     1  name: "Lint PR"
     2  
     3  on:
     4    pull_request_target:
     5      types: [opened, edited, reopened, synchronize]
     6  
     7  # IMPORTANT: No checkout actions, scripts, or builds should be added to this workflow. Permissions should always be used
     8  # with extreme caution. https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target
     9  permissions: {}
    10  
    11  # PR updates can happen in quick succession leading to this
    12  # workflow being trigger a number of times. This limits it
    13  # to one run per PR.
    14  concurrency:
    15    group: ${{ github.workflow }}-${{ github.head_ref }}
    16    cancel-in-progress: true
    17  
    18  jobs:
    19    validate:
    20      permissions:
    21        contents: read
    22        pull-requests: read
    23      name: Validate PR Title
    24      runs-on: ubuntu-latest
    25      steps:
    26        - uses: thehanimo/pr-title-checker@7fbfe05602bdd86f926d3fb3bccb6f3aed43bc70 # v1.4.3
    27          with:
    28            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    29            configuration_path: ".github/pr-title-checker-config.json"