Skip to content

Commit 3f2d689

Browse files
authored
workflow: find merge conflicts
since mergify creates commits with merge conflicts, having a check that calls out the conflict can be helpful in cases where the conflict doesn't otherwise break the build.
1 parent 3e0f488 commit 3f2d689

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
on: [push]
2+
3+
jobs:
4+
merge_conflict_job:
5+
runs-on: ubuntu-latest
6+
name: Find merge conflicts
7+
steps:
8+
# Checkout the source code so we have some files to look at.
9+
- uses: actions/checkout@v2
10+
# Run the actual merge conflict finder
11+
- name: Merge Conflict finder
12+
uses: olivernybroe/[email protected]
13+
with:
14+
# skip known build-related dirs
15+
exclude_dir: >-
16+
build
17+
vendor
18+
logstash-core/build
19+
logstash-core/lib/jars
20+
# skip known binary files
21+
excludes: >-
22+
*.jar
23+
*.p12
24+
*.png
25+
*.svg
26+
*.tgz
27+
*.zip

0 commit comments

Comments
 (0)