From 0d49d67fb61b1d43325d0414c9069c0f66757b7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arturo=20Filast=C3=B2?= Date: Tue, 6 Feb 2024 12:28:44 +0100 Subject: [PATCH] skip-terraform: Fix ansible recap regexp --- .github/workflows/deploy_production.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy_production.yml b/.github/workflows/deploy_production.yml index 15553027..d380e533 100644 --- a/.github/workflows/deploy_production.yml +++ b/.github/workflows/deploy_production.yml @@ -56,7 +56,7 @@ jobs: script: | const commentTitle = "Ansible Run Output"; const ansiblePlaybookOutput = `${{ steps.playbook.outputs.ansible_playbook}}`; - const parts = ansiblePlaybookOutput.split(/^PLAY RECAP \*+/); + const parts = ansiblePlaybookOutput.split(/PLAY RECAP \*+/); const ansiblePlaybookRecap = parts.length > 1 ? parts[1].trim() : ''; const commentBody = `