Skip to content

Commit

Permalink
[workflow] Use automerge_scan instead of automerge for correct commit…
Browse files Browse the repository at this point in the history
… message. (#17669)

Why I did it
automerge and automerge_scan have different behavior when merging PRs.
automerge may left some PRs unmerged. So, use automerge_scan instead.

Work item tracking
Microsoft ADO (number only): 26361240
How I did it
How to verify it
  • Loading branch information
liushilongbuaa authored Jan 9, 2024
1 parent b406502 commit 1c3bf41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ on:

jobs:
automerge:
if: github.event.check_suite.app.name == 'Azure Pipelines' && github.event.check_suite.conclusion == 'success'
# Disable workflow. Use automerge_scan instead to have the same behaviour.
if: github.event.check_suite.app.name == 'Azure Pipelines' && github.event.check_suite.conclusion == 'success' && false
runs-on: ubuntu-latest
steps:
- name: automerge
Expand Down

0 comments on commit 1c3bf41

Please sign in to comment.