Skip to content

Commit 7cae6cf

Browse files
committed
GitHub action auto create PR on feature branch
Signed-off-by: Joseph Mattello <[email protected]>
1 parent 60f98be commit 7cae6cf

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/pull-request.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Pull Request on Branch Push
2+
on:
3+
push:
4+
branches-ignore:
5+
- staging
6+
- launchpad
7+
- production
8+
jobs:
9+
auto-pull-request:
10+
name: PullRequestAction
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: pull-request-action
14+
uses: vsoch/pull-request-action@master
15+
env:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
BRANCH_PREFIX: 'feature/'
18+
PULL_REQUEST_BRANCH: 'master'
19+
PULL_REQUEST_DRAFT: true

0 commit comments

Comments
 (0)