From ed6d28a1fcc230928056c299663e8d014451ab9f Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Fri, 12 Nov 2021 15:58:13 +0530 Subject: [PATCH] ci: add action to retest failed approved PR's Adding github action to retest the failed approved PR's. sample output is available at https://github.com/Madhu-1/retest-action/pull/3 Signed-off-by: Madhu Rajanna --- .github/workflows/retest.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/retest.yml diff --git a/.github/workflows/retest.yml b/.github/workflows/retest.yml new file mode 100644 index 000000000..3352fc1a8 --- /dev/null +++ b/.github/workflows/retest.yml @@ -0,0 +1,18 @@ +--- +name: "Retest approved pull Requests" +# yamllint disable-line rule:truthy +on: + schedule: + # Run the retest action every 30 minutes + - cron: "30 * * * *" +jobs: + retest: + runs-on: ubuntu-latest + steps: + # path to the retest action + - uses: ceph/ceph-csi/actions/retest@devel + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + required-label: "ci/retry/e2e" + max-retry: "5" + required-approve-count: "2"