From a86cc499e2882a1b7d18d9d26695d788bd447419 Mon Sep 17 00:00:00 2001 From: FoxStorm1 <69159547+Yeetov@users.noreply.github.com> Date: Tue, 19 Sep 2023 19:51:40 +0100 Subject: [PATCH] Added a rerun function if the task fails --- .github/workflows/generate-db.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/generate-db.yml b/.github/workflows/generate-db.yml index 64026d15..b414adb9 100644 --- a/.github/workflows/generate-db.yml +++ b/.github/workflows/generate-db.yml @@ -21,9 +21,11 @@ concurrency: jobs: generate: runs-on: ubuntu-latest - permissions: contents: write + strategy: + matrix: + retry-max: [3] # Set the maximum number of retries here steps: - uses: actions/checkout@v3