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

Remove PR preview files when PRs are closed #975

Merged
merged 2 commits into from
Oct 23, 2023
Merged

Remove PR preview files when PRs are closed #975

merged 2 commits into from
Oct 23, 2023

Conversation

ZeLonewolf
Copy link
Member

This PR removes preview files from s3 once a PR is merged. Images in the checks tab will still remain, since those are archived by GitHub's content system, including the image diffs which will be provided by #956. However, links to live previews of merged PRs will become dead.

While s3 is cheap, there's really no need to keep old previews around once a PR has been merged.

Copy link
Member

@claysmalley claysmalley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see why not.

@ZeLonewolf
Copy link
Member Author

ZeLonewolf commented Oct 23, 2023

@ZeLonewolf ZeLonewolf merged commit 35584bd into main Oct 23, 2023
@ZeLonewolf ZeLonewolf deleted the zlw-clean-s3 branch October 23, 2023 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants