Skip to content

Commit

Permalink
Merge pull request #8138 from vrothberg/main-pr-title-update-action
Browse files Browse the repository at this point in the history
add GitHub action to add non-main branch to PR title
  • Loading branch information
openshift-merge-robot authored Oct 26, 2020
2 parents f9df17a + b26a108 commit 01f642f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/pr-title.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 01f642f

Please sign in to comment.