From 6031a5b853cb8efec4096156dca13dc5a27bafd4 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Tue, 11 Feb 2025 09:41:05 -0500 Subject: [PATCH] add github workflow for clean-ci Signed-off-by: Patrick Donnelly --- .github/workflows/clean-ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/clean-ci.yml diff --git a/.github/workflows/clean-ci.yml b/.github/workflows/clean-ci.yml new file mode 100644 index 00000000000..d6b1354e261 --- /dev/null +++ b/.github/workflows/clean-ci.yml @@ -0,0 +1,23 @@ +name: Cleanup ceph-ci.git +run-name: ${{ github.actor }} cleaning up ceph-ci.git branches +on: + - push +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: clean-ci-2 + + - name: run clean-ci + run: ./ceph/src/script/clean-ci --repo=origin --ceph-ci=https://github.com/ceph/ceph-ci.git + working-directory: ./ceph-ci