Skip to content

Build your personal knowledge base with Trilium Notes

feat(ci): mark PRs with merge conflicts

Elian Doranef2f2f17b464
diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml
new file mode 100644
index 0000000000..5299fa772c
--- /dev/null
+++ b/.github/workflows/checks.yml
@@ -0,0 +1,15 @@
+name: Checks
+on:
+ push:
+ pull_request_target:
+ types: [synchronize]
+
+jobs:
+ main:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Check if PRs have conflicts
+ uses: eps1lon/actions-label-merge-conflict@v3
+ with:
+ dirtyLabel: "merge-conflicts"
+ repoToken: "${{ secrets.GITHUB_TOKEN }}"