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

Simplify cache cleanup actions #148

Closed

Conversation

WeiqunZhang
Copy link
Member

For the CleanUpCache workflow run triggered by PR workflows, there is a simple way of getting the PR number. The full event webhook payload is available as a json file and it contains the number of the triggering PR. So we don't need to upload the PR number as an artifact.

For the post-PR cleanup, we could also clean up the cache directly without uploading the PR number and triggering a workflow run for cleaning.

For the CleanUpCache workflow run triggered by PR workflows, there is a
simple way of getting the PR number. The full event webhook payload is
available as a json file and it contains the number of the triggering PR. So
we don't need to upload the PR number as an artifact.

For the post-PR cleanup, we could also clean up the cache directly without
uploading the PR number and triggering a workflow run for cleaning.
@WeiqunZhang WeiqunZhang requested a review from asalmgren August 29, 2024 21:22
@WeiqunZhang WeiqunZhang enabled auto-merge (squash) August 29, 2024 21:25
@WeiqunZhang WeiqunZhang disabled auto-merge August 29, 2024 21:28
@WeiqunZhang WeiqunZhang enabled auto-merge (squash) August 29, 2024 21:42
@WeiqunZhang WeiqunZhang marked this pull request as draft August 29, 2024 23:38
auto-merge was automatically disabled August 29, 2024 23:38

Pull request was converted to draft

@WeiqunZhang WeiqunZhang deleted the cleanup_cache branch August 30, 2024 01:59
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.

1 participant