2021-11-12 10:28:13 +00:00
|
|
|
---
|
|
|
|
name: "Retest approved pull Requests"
|
|
|
|
# yamllint disable-line rule:truthy
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
# Run the retest action every 30 minutes
|
|
|
|
- cron: "30 * * * *"
|
2022-05-01 01:00:30 +00:00
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2021-11-12 10:28:13 +00:00
|
|
|
jobs:
|
|
|
|
retest:
|
2023-06-05 07:30:41 +00:00
|
|
|
if: github.repository == 'ceph/ceph-csi'
|
2021-11-12 10:28:13 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-10-01 07:57:28 +00:00
|
|
|
- name: Checkout the ceph-csi respository
|
|
|
|
# yamllint disable-line rule:line-length
|
2024-10-28 20:18:00 +00:00
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
2024-10-01 07:57:28 +00:00
|
|
|
- name: Run local retest github action
|
|
|
|
uses: ./actions/retest # path to the retest action
|
2021-11-12 10:28:13 +00:00
|
|
|
with:
|
2022-03-18 04:48:21 +00:00
|
|
|
GITHUB_TOKEN: ${{ secrets.CEPH_CSI_BOT_TOKEN }}
|
2021-11-12 10:28:13 +00:00
|
|
|
required-label: "ci/retry/e2e"
|
|
|
|
max-retry: "5"
|
|
|
|
required-approve-count: "2"
|