fix: make gates transparent about fork PR skip behavior

- Remove `if: always()` from integration-gate, coverage-gate, codecov-gate, pipeline-gate
- Gates now naturally skip when their upstream dependencies are skipped (fork PR behavior)
- Prevents confusing "complete" status when nothing actually ran
- Fork PRs will show "skipped" in UI instead of obscuring behavior behind gate success
- Aligns with GitHub Actions standard job dependency semantics
This commit is contained in:
GitHub Actions
2026-02-08 11:22:48 +00:00
parent fc859d0343
commit c27467d459
12 changed files with 21 additions and 42 deletions

View File

@@ -1,8 +1,11 @@
name: Cleanup github runner caches on closed pull requests
on:
pull_request:
types:
- closed
workflow_dispatch:
inputs:
pr_number:
description: 'PR number to clean caches for'
required: true
type: string
jobs:
cleanup:
@@ -25,4 +28,4 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
BRANCH: refs/pull/${{ github.event.pull_request.number }}/merge
BRANCH: refs/pull/${{ inputs.pr_number }}/merge