From: Patrick Donnelly Date: Tue, 11 Feb 2025 14:41:05 +0000 (-0500) Subject: add github workflow for clean-ci X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=91aca173a8201b2e18105e5ca6c78c4ec9523d0f;p=ceph-ci.git add github workflow for clean-ci Signed-off-by: Patrick Donnelly --- diff --git a/.github/workflows/clean-ci.yml b/.github/workflows/clean-ci.yml new file mode 100644 index 00000000000..e35725ea604 --- /dev/null +++ b/.github/workflows/clean-ci.yml @@ -0,0 +1,25 @@ +name: Cleanup ceph-ci.git +run-name: ${{ github.actor }} cleaning up ceph-ci.git branches +on: + schedule: + - cron: '0 0 * * *' + workflow_dispatch: # allow manual triggering +jobs: + Clean-CI: + runs-on: ubuntu-latest + steps: + - name: checkout ceph-ci.git + uses: actions/checkout@v4 + with: + path: ceph-ci + + - name: checkout ceph.git + uses: actions/checkout@v4 + with: + repository: ceph/ceph.git + path: ceph-ci/ceph + ref: main + + - name: run clean-ci + run: ./ceph/src/script/clean-ci --remote=origin + working-directory: ./ceph-ci