1
0
Fork 0

GitHub action to auto-create PR to merge main to production

This commit is contained in:
Lim Chee Aun 2022-12-14 23:48:28 +08:00
parent b0372ea83b
commit e5ffdd53cf

16
.github/workflows/main2prod.yml vendored Normal file
View file

@ -0,0 +1,16 @@
name: Pull Request to `main` from `production`
on:
push:
branches:
- main
jobs:
auto-pull-request:
runs-on: ubuntu-latest
steps:
- uses: vsoch/pull-request-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PULL_REQUEST_FROM_BRANCH: 'main'
PULL_REQUEST_BRANCH: 'production'