diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eda0fed2..61cce1c1 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" @@ -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