Skip to content

chore: fix all-passed gate to run with if: always()#11

Open
mridang wants to merge 2 commits intomainfrom
chore/fix-allpassed-gate
Open

chore: fix all-passed gate to run with if: always()#11
mridang wants to merge 2 commits intomainfrom
chore/fix-allpassed-gate

Conversation

@mridang
Copy link
Copy Markdown
Collaborator

@mridang mridang commented Apr 10, 2026

The all-passed job depends on lint-commits which is always skipped
on push events (due to its if: github.event_name == 'pull_request'
conditional). GitHub Actions propagates skipped status to dependent
jobs, so all-passed was silently skipped on every run and never
actually gated anything.

Adding if: always() ensures the gate job runs regardless of skipped
dependencies, and the step now verifies that no jobs failed or were
cancelled instead of unconditionally reporting success.

mridang added 2 commits April 10, 2026 10:43
The all-passed job depends on lint-commits which is always skipped
on push events (due to its if: github.event_name == 'pull_request'
conditional). GitHub Actions propagates skipped status to dependent
jobs, so all-passed was silently skipped on every run and never
actually gated anything.

Adding if: always() ensures the gate job runs regardless of skipped
dependencies, and the step now verifies that no jobs failed or were
cancelled instead of unconditionally reporting success.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant