From 7493cddbddead4d3a235e3bbfc09ebbc598f6a64 Mon Sep 17 00:00:00 2001 From: tyler Date: Fri, 5 Jan 2024 20:58:07 +0000 Subject: [PATCH 1/2] Fix publish-qa-results skipped on qa error --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eda0fed2..88150442 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: permissions: contents: read pull-requests: write - if: needs.qa.result != 'skipped' || needs.qa.result != 'cancelled' + if: always() && (needs.qa.result != 'skipped' && needs.qa.result != 'cancelled') needs: - qa uses: "./.github/workflows/publish-qa-results.yml" From 814e14acf89fea291ddaf7107808749defd1009a Mon Sep 17 00:00:00 2001 From: tyler Date: Fri, 5 Jan 2024 20:58:41 +0000 Subject: [PATCH 2/2] Fix publish-tf-plan skipped on tf-plan error --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 88150442..61cce1c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -105,7 +105,7 @@ jobs: permissions: contents: read pull-requests: write - if: needs.tf-plan.result != 'skipped' || needs.tf-plan.result != 'cancelled' + if: always() && (needs.tf-plan.result != 'skipped' && needs.tf-plan.result != 'cancelled') needs: - tf-plan uses: ./.github/workflows/publish-terraform-plan.yml