Skip to content

[Backport styhead-next] 2024-11-28_01-35-52_master-next_python3-boto3 #10961

[Backport styhead-next] 2024-11-28_01-35-52_master-next_python3-boto3

[Backport styhead-next] 2024-11-28_01-35-52_master-next_python3-boto3 #10961

name: auto approve and enable auto-merge
on:
pull_request:
types: [review_requested]
branches:
- '*-next'
jobs:
auto-approve-and-merge:
runs-on: ubuntu-22.04
name: auto approve and enable auto-merge
steps:
- name: Sleep (give PR time to create labels)
run: sleep 1m
shell: bash
- name: Check label after delay
uses: docker://agilepathway/pull-request-label-checker:v1.6.55
with:
any_of: version-upgrade
repo_token: ${{ secrets.BOT2_CREDENTIAL }}
- name: Auto approve
uses: juliangruber/[email protected]
with:
github-token: ${{ secrets.BOT2_CREDENTIAL }}
number: ${{ github.event.pull_request.number }}
- name: Enable Pull Request Automerge
uses: peter-evans/[email protected]
with:
token: ${{ secrets.BOT2_CREDENTIAL }}
pull-request-number: ${{ github.event.pull_request.number }}
merge-method: rebase