Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/automerge-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ permissions:

jobs:
check-and-merge:
# Only run when a Learn Build status reports on the automation branch
# Only run when a Learn Build status succeeds on the automation branch.
# Ignore pending/error/failure — we only care when a status completes green.
if: |
github.event.state == 'success' &&
(github.event.context == 'OpenPublishing.Build' ||
github.event.context == 'PoliCheck Scan') &&
contains(github.event.branches.*.name, 'automation/write-api-docs')
Expand Down