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