Conversation
8c32a44 to
f582b22
Compare
matemoln
previously requested changes
Jun 27, 2025
There was a problem hiding this comment.
Pull Request Overview
This PR introduces a new GitHub Action to automatically clean up caches and artifacts associated with pull requests. Key changes include:
- A Bash script (cleanup.sh) for listing and deleting caches and artifacts.
- A composite GitHub Action definition (action.yml) to execute the cleanup script.
- Updated documentation in README.md outlining usage and inputs.
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| pr_cleanup/cleanup.sh | Adds a Bash script to fetch and delete caches and artifacts. |
| pr_cleanup/action.yml | Defines the PR Cleanup action and sets up its environment. |
| README.md | Documents the new pr_cleanup action and its usage. |
Comments suppressed due to low confidence (1)
pr_cleanup/action.yml:24
- Consider adding an inline comment explaining the purpose and expected behavior of the GH_FORCE_TTY variable, as the use of the magic number 140 might not be immediately clear to future maintainers.
GH_FORCE_TTY: 140
2fa21d5 to
69716f7
Compare
julien-carsique-sonarsource
approved these changes
Jun 27, 2025
Contributor
julien-carsique-sonarsource
left a comment
There was a problem hiding this comment.
Do you think that you can add a test workflow creating a cache, an artifact, and calling the action for cleanup?
Contributor
Author
let me try this |
69716f7 to
53ce6b5
Compare
1d579b5 to
d9acc26
Compare
d9acc26 to
9553df1
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



No description provided.