QA Handover PR #128
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create PR from main to production | |
on: | |
pull_request: | |
types: [closed] | |
branches: | |
- main | |
jobs: | |
pull-request: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: pull-request | |
uses: repo-sync/pull-request@v2 | |
if: github.event.pull_request.merged == true | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
source_branch: '' | |
destination_branch: 'production' | |
pr_title: 'Production release PR' | |
pr_body: ':robot: Automated PR from **${{ github.ref }}** to **production**' | |
pr_label: 'release' |