You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by yi...@apache.org on 2024/09/06 16:27:51 UTC

(hudi) branch master updated: [HUDI-8180] Delete the caches with workflow (#11904)

This is an automated email from the ASF dual-hosted git repository.

yihua pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git


The following commit(s) were added to refs/heads/master by this push:
     new df5c59b3812 [HUDI-8180] Delete the caches with workflow (#11904)
df5c59b3812 is described below

commit df5c59b3812db7a8d70708eebd3c6adfcc0de843
Author: Jon Vexler <jb...@gmail.com>
AuthorDate: Fri Sep 6 12:27:46 2024 -0400

    [HUDI-8180] Delete the caches with workflow (#11904)
    
    Co-authored-by: Jonathan Vexler <=>
---
 .github/workflows/scheduled_workflow.yml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.github/workflows/scheduled_workflow.yml b/.github/workflows/scheduled_workflow.yml
index d19042fd0e9..876d1a65bee 100644
--- a/.github/workflows/scheduled_workflow.yml
+++ b/.github/workflows/scheduled_workflow.yml
@@ -28,6 +28,15 @@ permissions:
   issues: read
 
 jobs:
+  delete-all-caches:
+    if: github.repository == 'apache/hudi'
+    runs-on: ubuntu-latest
+    steps:
+      - name: Delete Cache
+        run: gh cache delete --all --repo $REPO
+        env:
+          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+          REPO: ${{ github.repository }}
   process-new-and-updated-prs:
     if: github.repository == 'apache/hudi'
     runs-on: ubuntu-latest