ci: skip check stage on main push since PRs enforce it

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Sharang Parnerkar
2026-03-13 11:20:39 +01:00
parent 584ef2c822
commit 77f1c92c7b

View File

@@ -25,6 +25,7 @@ jobs:
# ---------------------------------------------------------------------------
check:
name: Check
if: github.event_name == 'pull_request'
runs-on: docker
container:
image: rust:1.94-bookworm
@@ -87,7 +88,6 @@ jobs:
name: Detect Changes
runs-on: docker
if: github.ref == 'refs/heads/main'
needs: [check]
container:
image: alpine:latest
outputs: