Skip to content
Open
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
22 changes: 22 additions & 0 deletions .github/workflows/check-merge-drops.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Reports content a merge commit silently dropped: lines either side added
# since the merge base that appear nowhere in the merge's tree -- what
# resolving a conflict by keeping one side of a whole file looks like.
# Copied from Morrison-Lab/gha's examples/check-merge-drops.yml, with
# `fail: true` so such a merge fails CI instead of only warning
# (Morrison-Lab/ai-config#5408).
name: Check merge commits for dropped content

on:
push:
branches:
- main
pull_request:
workflow_dispatch:

jobs:
check:
permissions:
contents: read
uses: Morrison-Lab/gha/.github/workflows/check-merge-drops.yml@v3
with:
fail: true
Loading