-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Idea
Introduce an optional environment.autoDeployPaths list in lifecycle.yaml to limit
push-triggered redeploys to relevant file changes.
autoDeploy stays the main toggle.
autoDeployPaths is an additional include filter for push events only.
Expected behavior
- If
autoDeployistrueandautoDeployPathsis set:- redeploy only when changed files (from push
before..after) match at least one path
pattern.
- redeploy only when changed files (from push
- If no match, skip push-triggered redeploy.
- If changed-files lookup fails, fail open (keep current behavior).
- If there are failed deploys, keep current priority behavior (still redeploy).
- Manual/API/comment-triggered redeploy flows are unchanged.
Scope
- Add compare-based changed-files helper.
- Add path matching utility (glob include match).
- Add config validation for
autoDeployPaths. - Wire gate into push webhook flow.
Acceptance criteria
- Matching path change triggers push redeploy.
- Non-matching change does not trigger push redeploy.
- Missing
autoDeployPathskeeps current behavior. - Retrieval failures do not block current behavior.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request