Skip to content

Merge pull request #21808 from abpframework/auto-merge/rel-9-0/3353 #3354

Merge pull request #21808 from abpframework/auto-merge/rel-9-0/3353

Merge pull request #21808 from abpframework/auto-merge/rel-9-0/3353 #3354

Workflow file for this run

name: Merge branch dev with prerel-9.1
on:
push:
branches:
- prerel-9.1
permissions:
contents: read
jobs:
merge-dev-with-prerel-9-1:
permissions:
contents: write # for peter-evans/create-pull-request to create branch
pull-requests: write # for peter-evans/create-pull-request to create a PR
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: dev
- name: Reset promotion branch
run: |
git fetch origin prerel-9.1:prerel-9.1
git reset --hard prerel-9.1
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
branch: auto-merge/prerel-9-0/${{github.run_number}}
title: Merge branch dev with prerel-9.1
body: This PR generated automatically to merge dev with prerel-9.1. Please review the changed files before merging to prevent any errors that may occur.
reviewers: maliming
draft: true
token: ${{ github.token }}
- name: Merge Pull Request
env:
GH_TOKEN: ${{ secrets.BOT_SECRET }}
run: |
gh pr ready
gh pr review auto-merge/prerel-9-0/${{github.run_number}} --approve
gh pr merge auto-merge/prerel-9-0/${{github.run_number}} --merge --auto --delete-branch