phanpy/.github/workflows/main2prod.yml
2024-10-09 12:30:00 +08:00

17 lines
398 B
YAML

name: Pull Request to `main` from `production`
on:
push:
branches:
- main
jobs:
auto-pull-request:
if: github.repository == 'cheeaun/phanpy'
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'