mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-02-16 23:59:29 +00:00
use private retest github action instead of pinning to a single branch/commit hash. Signed-off-by: Nikhil-Ladha <nikhilladha1999@gmail.com>
27 lines
755 B
YAML
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"
|