Shortens deploy label, adds manual test-deploy toggle, skips unaffected backend/frontend gates #4

Merged
Sluijsens merged 1 commits from feature/gitea-workflow-optimizations into master 2026-07-31 16:00:54 +02:00
Owner

Summary

  • Shortens the deploy_production input label to "Deploy to Production"
  • Adds a deploy_test input (default false) so a manual workflow_dispatch run only deploys to test when explicitly checked; push-to-master keeps auto-deploying to test unchanged
  • Adds a changes job (dorny/paths-filter) that skips the backend-* or frontend-* gate jobs when that side of the repo has no relevant changes; publish jobs still run when either side changed, and manual runs always run everything

Test plan

  • Push a backend-only change and confirm frontend-* gates are skipped
  • Push a frontend-only change and confirm backend-* gates are skipped
  • Trigger workflow_dispatch and confirm all gates still run, and deploy_test controls the test deploy
  • Merge to master and confirm the automatic test deploy still fires
## Summary - Shortens the deploy_production input label to "Deploy to Production" - Adds a deploy_test input (default false) so a manual workflow_dispatch run only deploys to test when explicitly checked; push-to-master keeps auto-deploying to test unchanged - Adds a `changes` job (dorny/paths-filter) that skips the backend-* or frontend-* gate jobs when that side of the repo has no relevant changes; publish jobs still run when either side changed, and manual runs always run everything ## Test plan - [ ] Push a backend-only change and confirm frontend-* gates are skipped - [ ] Push a frontend-only change and confirm backend-* gates are skipped - [ ] Trigger workflow_dispatch and confirm all gates still run, and deploy_test controls the test deploy - [ ] Merge to master and confirm the automatic test deploy still fires
Sluijsens added 1 commit 2026-07-31 15:31:08 +02:00
Shortens deploy_production label, adds a deploy_test toggle for manual runs, and skips backend/frontend gates when that side of the repo has no changes
Continuous Integration / config (pull_request) Successful in 10s
Continuous Integration / changes (pull_request) Successful in 21s
Continuous Integration / backend-build (pull_request) Successful in 5m17s
Continuous Integration / vulnerability-scan (pull_request) Successful in 4m30s
Continuous Integration / frontend-prepare (pull_request) Successful in 1m32s
Continuous Integration / backend-test (pull_request) Successful in 5m31s
Continuous Integration / frontend-build (pull_request) Successful in 2m10s
Continuous Integration / frontend-test (pull_request) Successful in 4m26s
Continuous Integration / frontend-lint (pull_request) Successful in 2m12s
Continuous Integration / publish-test (pull_request) Canceled after 0s
Continuous Integration / publish-production (pull_request) Canceled after 0s
Continuous Integration / deploy-test (pull_request) Canceled after 0s
Continuous Integration / deploy-production (pull_request) Canceled after 0s
dfc27fd5a2
Push-to-master keeps auto-deploying to test unchanged. A new deploy_test input (default false) lets a manual workflow_dispatch run opt into a test deploy instead of it firing by default. A new changes job (dorny/paths-filter) gates the backend and frontend build/test/lint jobs on whether their side of the repo actually changed, shortening runs that only touch one side; publish jobs still run whenever either side changed, and manual runs always run everything since there's no commit to diff against.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VhySVFARKAP89WqQ3Kff8M
Sluijsens marked the pull request as ready for review 2026-07-31 15:53:26 +02:00
Sluijsens merged commit 5a44d76ccc into master 2026-07-31 16:00:54 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SLP_Software/slp-modular-cms#4