Skip to content

CI: skip backend pipeline for frontend-only pull requests - #69

Open
hotzenplotz5 wants to merge 1 commit into
mainfrom
ci/skip-backend-for-frontend-only
Open

CI: skip backend pipeline for frontend-only pull requests#69
hotzenplotz5 wants to merge 1 commit into
mainfrom
ci/skip-backend-for-frontend-only

Conversation

@hotzenplotz5

Copy link
Copy Markdown
Owner

Summary

  • classify pull request changes before scheduling expensive jobs
  • keep full CI for pushes and every PR touching files outside web/frontend/
  • skip Make audit, C++ fast regression, daemon build, packaging and install staging for frontend-only PRs
  • keep docs and frontend regression checks for frontend-only PRs
  • use the Node runtime already present on GitHub-hosted runners instead of running apt-get update and reinstalling Node
  • preserve full CI for workflow, build, backend, packaging and mixed changes

Safety model

A PR is considered frontend-only only when every changed file is below web/frontend/. Any other path sets full_ci=true.

Push events always run the full pipeline.

This PR itself changes .github/workflows/ci.yml, so it must and should run the complete pipeline before merge.

Expected effect

Future frontend-only PRs should complete after change classification, docs checks and frontend-regression-test, while the expensive C++/daemon/packaging chain reports skipped.

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