From e18aece9b58fc2d715d33491f80adfd6eceb3656 Mon Sep 17 00:00:00 2001 From: Iain Learmonth Date: Mon, 23 May 2022 10:59:26 +0100 Subject: [PATCH] list/gitlab: no parallelism to avoid conflicts with multiple files in the same repo --- app/terraform/list/github.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/terraform/list/github.py b/app/terraform/list/github.py index 8b653a6..c46a500 100644 --- a/app/terraform/list/github.py +++ b/app/terraform/list/github.py @@ -7,6 +7,10 @@ class ListGithubAutomation(ListAutomation): provider = "github" always_refresh = True + # Where there is more than 1 file in the same repository, there's a race condition + # TODO: file an issue in the github about this, GitLab had a similar issue but fixed it + parallelism = 1 + template_parameters = [ "github_api_key" ]