mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-22 01:05:34 +03:00
GitHub action to auto-create PR to merge main to production
This commit is contained in:
parent
b0372ea83b
commit
e5ffdd53cf
1 changed files with 16 additions and 0 deletions
16
.github/workflows/main2prod.yml
vendored
Normal file
16
.github/workflows/main2prod.yml
vendored
Normal 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'
|
Loading…
Reference in a new issue