Run the compile check on pull requests only, not on merges
Check / compile (pull_request) Successful in 10m49s

A merge to master re-ran the same compile the PR had just done. Keep
the pull_request trigger and drop the push-to-master one.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-09-26 03:48:54 +02:00
co-authored by claude
parent 2ecb4f80ea
commit ff0bce4d24
+4 -5
View File
@@ -1,12 +1,11 @@
name: Check
# Compiles every Minecraft version on pull requests and on pushes to master,
# so a change that breaks one version (e.g. a missed or bad port) fails before
# it's merged instead of in the release build.
# Compiles every Minecraft version on pull requests, so a change that breaks
# one version (e.g. a missed or bad port) fails before it's merged instead of
# in the release build. Merges to master aren't re-checked: the PR already
# checked that code.
on:
pull_request:
push:
branches: [master]
jobs:
compile: