diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-10-26 06:16:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-26 06:16:04 -0400 |
commit | 01f642f08071118b9ed63e1ab4818731fe9c5de9 (patch) | |
tree | 25d52fb07c894e674b9c7238992d4fc99c87f13a | |
parent | f9df17a446cfce5a12342ade5fdf78aac94fc711 (diff) | |
parent | b26a1085cd291de25950cfe6f5221d7499d7669a (diff) | |
download | podman-01f642f08071118b9ed63e1ab4818731fe9c5de9.tar.gz podman-01f642f08071118b9ed63e1ab4818731fe9c5de9.tar.bz2 podman-01f642f08071118b9ed63e1ab4818731fe9c5de9.zip |
Merge pull request #8138 from vrothberg/main-pr-title-update-action
add GitHub action to add non-main branch to PR title
-rw-r--r-- | .github/workflows/pr-title.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml new file mode 100644 index 000000000..0709fb5f0 --- /dev/null +++ b/.github/workflows/pr-title.yml @@ -0,0 +1,16 @@ +# Upstream: github.com/tzkhan/pr-update-action + +name: "PR title check" + +on: pull_request_target + +jobs: + update_pr: + runs-on: ubuntu-latest + steps: + - uses: tzkhan/pr-update-action@v2 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + base-branch-regex: '^(?!master).*$' + title-template: '[%basebranch%]' + title-prefix-space: true |