2021-04-11 23:17:28 -05:00
|
|
|
# This workflow will merge pull requests automatically
|
|
|
|
#
|
|
|
|
|
|
|
|
name: automerge
|
|
|
|
on:
|
|
|
|
check_suite:
|
|
|
|
types:
|
|
|
|
- completed
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
automerge:
|
|
|
|
if: github.event.check_suite.app.name == 'Azure Pipelines' && github.event.check_suite.conclusion == 'success'
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: automerge
|
|
|
|
uses: 'pascalgn/automerge-action@v0.13.1'
|
|
|
|
env:
|
2022-08-09 22:53:58 -05:00
|
|
|
GITHUB_TOKEN: '${{ secrets.TOKEN }}'
|
2021-04-11 23:17:28 -05:00
|
|
|
MERGE_LABELS: 'automerge'
|
|
|
|
MERGE_METHOD: 'squash'
|
|
|
|
MERGE_FILTER_AUTHOR: 'mssonicbld'
|
|
|
|
MERGE_DELETE_BRANCH: true
|