Skip to content

Release Merging

Release Merging #7642

Workflow file for this run

---
# Workflow to automate merging release branches
name: Release Merging
# Trigger on PR approval
on:
pull_request_review:
types:
- submitted
jobs:
merge_release:
if: >
github.event.review.state == 'approved' &&
github.event.pull_request.user.login == 'github-actions[bot]'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Merge PR
uses: LabKey/gitHubActions/merge-release@develop
with:
target_branch: ${{ github.event.pull_request.base.ref }}
merge_branch: ${{ github.event.pull_request.head.ref }}
pr_number: ${{ github.event.pull_request.number }}
github_token: ${{ secrets.GITHUB_TOKEN }}