diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index 22da5d62..4498d3cf 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -36,4 +36,10 @@ on: jobs: merge_check: + if: | + ((github.event_name == 'pull_request_target' || github.event_name == 'pull_request_review') && + (github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'uefibot')) || + ((github.event_name == 'check_suite') && + (github.event.check_suite.sender.login == 'dependabot[bot]' || github.event.check_suite.sender.login == 'uefibot')) uses: microsoft/mu_devops/.github/workflows/AutoMerger.yml@v1.3.0 + secrets: inherit