-
-
Notifications
You must be signed in to change notification settings - Fork 965
Open
Description
Provide environment information
n/a
Describe the bug
Preview branches are not automatically archived when pull requests are merged or closed, despite documentation stating this should happen automatically.
Expected: Preview branches should be automatically archived when PRs are merged/closed.
Actual: Preview branches remain active after PRs are merged/closed, causing users to hit branch limits.
Reproduction repo
n/a
To reproduce
- Connect repository using GitHub App integration
- Enable preview deployments
- Open a pull request (preview branch created automatically)
- Merge or close the pull request
- Observed: Preview branch remains active
- Expected: Preview branch should be automatically archived
Additional information
Auto-archive works with GitHub Actions when the deploy command runs after a PR is merged/closed, but does not work with the GitHub App integration (potentially cause: there's no webhook handler for PR close events)
Metadata
Metadata
Assignees
Labels
No labels