diff --git a/.github/workflows/apply-prod.yml b/.github/workflows/apply-prod.yml index 2d66727..d91dfc8 100644 --- a/.github/workflows/apply-prod.yml +++ b/.github/workflows/apply-prod.yml @@ -45,6 +45,8 @@ jobs: plan: name: "Terraform Prod plan" runs-on: ubuntu-latest + concurrency: + group: "tf-prod" environment: name: "plan" needs: build @@ -70,6 +72,8 @@ jobs: apply: name: "Terraform Prod Apply" runs-on: ubuntu-latest + concurrency: + group: "tf-prod" environment: name: "prod" needs: [build, plan] diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index aa65db0..d6c076c 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -5,6 +5,7 @@ on: paths-ignore: - "README.md" - "catalog.yaml" + env: IMAGE_PATH: ${{ github.repository_owner }}/gratibot @@ -67,6 +68,8 @@ jobs: plan: name: "Terraform Nonprod plan" runs-on: ubuntu-latest + concurrency: + group: "tf-nonprod" needs: build steps: - name: Checkout diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index afe8967..9751253 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,6 +49,8 @@ jobs: apply: name: "Terraform Apply" runs-on: ubuntu-latest + concurrency: + group: "tf-nonprod" environment: name: "nonprod" needs: build