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

Fix trigger for PR environment destroy workflow #151

Closed
wants to merge 1 commit into from

Conversation

lorenyu
Copy link
Collaborator

@lorenyu lorenyu commented Jan 9, 2025

Fixes bug where PR environment destroy workflow is not triggered when there is a conflict with the base branch

Ticket

Resolves navapbc/template-infra#826

Changes

see title

Context for reviewers

see ticket. i looked into why PRs were being orphaned and discovered it's not because PR destroy workflow was failing but because it wasn't being triggered at all.

Testing

I can't easily fix this by closing the PR because the new trigger runs the destroy/cleanup from the base main branch which has the wrong trigger.

Preview environment

♻️ Environment destroyed ♻️

Fixes bug where PR environment destroy workflow is not triggered when there is a conflict with the base branch
@lorenyu
Copy link
Collaborator Author

lorenyu commented Jan 9, 2025

Done in navapbc/template-infra#827

@lorenyu lorenyu closed this Jan 9, 2025
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.

Sometimes PR environment destroy does not trigger
1 participant