ci: print explicit reason when deploy jobs are skipped #357

Merged
guettlibot merged 1 commits from refs/pull/357/head into main 2026-06-03 11:27:30 +00:00
guettlibot commented 2026-06-03 11:16:36 +00:00 (Migrated from codeberg.org)

Summary

  • The `Detect Changed Files` step in `deploy.yml` previously set `android=false` / `linux=false` silently, leaving downstream jobs showing only "skipped" in CI with no visible cause
  • Now each decision emits a clear one-liner in the step log:
    • `Android deploy: SKIPPED (no android-relevant files changed)`
    • `Android deploy: TRIGGERED (android-relevant files changed)`
    • `Linux deploy: SKIPPED (no linux-relevant files changed)`
    • or `HEAD already successfully deployed — skipping all deploy jobs`
  • The skip reason is visible in the `check-changes` job output, which is the job that makes the decision

Closes #353

Test plan

  • Trigger the deploy workflow on a commit that only touches CI/docs files — `check-changes` step log should show "Android deploy: SKIPPED (no android-relevant files changed)"
  • Trigger the deploy workflow on a commit touching `lib/` — log should show "Android deploy: TRIGGERED"
  • Trigger a second run on the same commit — log should show "already successfully deployed — skipping all deploy jobs"

🤖 Generated with Claude Code

## Summary - The \`Detect Changed Files\` step in \`deploy.yml\` previously set \`android=false\` / \`linux=false\` silently, leaving downstream jobs showing only "skipped" in CI with no visible cause - Now each decision emits a clear one-liner in the step log: - \`Android deploy: SKIPPED (no android-relevant files changed)\` - \`Android deploy: TRIGGERED (android-relevant files changed)\` - \`Linux deploy: SKIPPED (no linux-relevant files changed)\` - or \`HEAD <sha> already successfully deployed — skipping all deploy jobs\` - The skip reason is visible in the \`check-changes\` job output, which is the job that makes the decision Closes #353 ## Test plan - [ ] Trigger the deploy workflow on a commit that only touches CI/docs files — \`check-changes\` step log should show "Android deploy: SKIPPED (no android-relevant files changed)" - [ ] Trigger the deploy workflow on a commit touching \`lib/\` — log should show "Android deploy: TRIGGERED" - [ ] Trigger a second run on the same commit — log should show "already successfully deployed — skipping all deploy jobs" 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.