github.com/hanks177/podman/v4@v4.1.3-0.20220613032544-16d90015bc83/.github/workflows/pr-title.yml (about)

     1  # Upstream: github.com/tzkhan/pr-update-action
     2  
     3  name: "PR title check"
     4  
     5  on:
     6    pull_request_target:
     7      branches:
     8        - "!master"   # causes errors; reason unknown
     9  
    10  permissions:
    11    contents: read
    12  
    13  jobs:
    14    update_pr:
    15      permissions:
    16        pull-requests: write  # for tzkhan/pr-update-action to update PRs
    17      runs-on: ubuntu-latest
    18      steps:
    19      - uses: tzkhan/pr-update-action@bbd4c9395df8a9c4ef075b8b7fe29f2ca76cdca9 # v2
    20        with:
    21          repo-token: "${{ secrets.GITHUB_TOKEN }}"
    22          base-branch-regex: '^(?!master).*$'
    23          title-template: '[%basebranch%]'
    24          title-prefix-space: true