ceph-csi/.github/workflows/retest.yaml
Nikhil-Ladha 44368bfeb4 ci: use private retest github action
use private retest github action instead of pinning
to a single branch/commit hash.

Signed-off-by: Nikhil-Ladha <nikhilladha1999@gmail.com>
2024-10-02 09:11:19 +00:00

27 lines
755 B
YAML

---
name: "Retest approved pull Requests"
# yamllint disable-line rule:truthy
on:
schedule:
# Run the retest action every 30 minutes
- cron: "30 * * * *"
permissions:
contents: read
jobs:
retest:
if: github.repository == 'ceph/ceph-csi'
runs-on: ubuntu-latest
steps:
- name: Checkout the ceph-csi respository
# yamllint disable-line rule:line-length
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Run local retest github action
uses: ./actions/retest # path to the retest action
with:
GITHUB_TOKEN: ${{ secrets.CEPH_CSI_BOT_TOKEN }}
required-label: "ci/retry/e2e"
max-retry: "5"
required-approve-count: "2"