Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Staging servers of scheduled PRs don't get automatically destroyed #3788

Open
Marigold opened this issue Jan 3, 2025 · 0 comments
Open

Comments

@Marigold
Copy link
Collaborator

Marigold commented Jan 3, 2025

PRs that are scheduled with /schedule command and run via Merge Schedule Github action don't have their corresponding staging servers destroyed. Github action for destroying staging servers is triggered after PR is closed

on:
    pull_request:
        types:
            - closed

However, PRs merged automatically via Merge schedule action don't trigger it.

I looked into it for about an hour and couldn't find an easy solution. It should be possible to programmatically get scheduled PRs, but hooking it up with another workflow is non-trivial.

From time to time, I'm manually running a script that goes over all zombie staging servers and destroys them. That should be enough if we don't find an elegant solution.

cc @lucasrodes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant