2023-11-10_00-14-04_master-next_aws-crt-python #6568
Workflow file for this run
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: auto approve and enable auto-merge | |
on: | |
pull_request: | |
types: [review_requested] | |
branches: | |
- '*-next' | |
jobs: | |
auto-approve-and-merge: | |
runs-on: ubuntu-latest | |
name: auto approve and enable auto-merge | |
steps: | |
- name: Sleep for 5 min (give PR time to create labels) | |
run: sleep 5m | |
shell: bash | |
- name: check label after delay | |
uses: docker://agilepathway/pull-request-label-checker:latest | |
with: | |
any_of: auto-integrate,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 | |