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-07 20:14:45 +00:00
|
|
|
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
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"
|