mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-23 23:00:19 +00:00
0e79135419
Forked repositories contain the the `.github/workflows/` directory, and therefore run all the GitHub Workflows located there. Some of the workflows need additional configuration, like providing access to the standard `GITHUB_TOKEN`. If the extra configuration is not done, the GitHub Workflow will fail, and the owner of the forked repository will receive regular notifications about that. There is no need to run the "retest" workflow on forked repositories, so it can be skipped by default. Signed-off-by: Niels de Vos <ndevos@ibm.com>
24 lines
554 B
YAML
24 lines
554 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:
|
|
# path to the retest action
|
|
- uses: ceph/ceph-csi/actions/retest@devel
|
|
with:
|
|
GITHUB_TOKEN: ${{ secrets.CEPH_CSI_BOT_TOKEN }}
|
|
required-label: "ci/retry/e2e"
|
|
max-retry: "5"
|
|
required-approve-count: "2"
|