From 328a5ce32f4f71a12c79bfba3055d5033a528f72 Mon Sep 17 00:00:00 2001 From: Gianfranco Paoloni Date: Tue, 17 Dec 2024 12:34:17 -0300 Subject: [PATCH] fix: slack action v2.0.0 broken message --- .github/workflows/hrm-ecs-deploy.yml | 2 +- .github/workflows/hrm-ecs-reload.yml | 2 +- .github/workflows/hrm-lambda-deploy.yml | 2 +- .github/workflows/hrm-transcript-scrubber-ecs-deploy.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/hrm-ecs-deploy.yml b/.github/workflows/hrm-ecs-deploy.yml index 3f2f0e266..4b25e9084 100644 --- a/.github/workflows/hrm-ecs-deploy.yml +++ b/.github/workflows/hrm-ecs-deploy.yml @@ -219,7 +219,7 @@ jobs: token: ${{ env.GITHUB_ACTIONS_SLACK_BOT_TOKEN }} payload: | channel: ${{ env.ASELO_DEPLOYS_CHANNEL_ID }} - text: "`[HRM]` Deployment of ${{ github.ref_type }} `${{ github.ref_name }}` requested by `${{ github.triggering_actor }}` completed with SHA ${{ github.sha }} to region `${{ matrix.region }}`, environment `${{ inputs.environment }}` :rocket:." + text: '`[HRM]` Deployment of ${{ github.ref_type }} `${{ github.ref_name }}` requested by `${{ github.triggering_actor }}` completed with SHA ${{ github.sha }} to region `${{ matrix.region }}`, environment `${{ inputs.environment }}` :rocket:.' if: ${{ inputs.send-slack-message != 'false' }} # Update deployment matrix diff --git a/.github/workflows/hrm-ecs-reload.yml b/.github/workflows/hrm-ecs-reload.yml index 9c71def89..a1f36913a 100644 --- a/.github/workflows/hrm-ecs-reload.yml +++ b/.github/workflows/hrm-ecs-reload.yml @@ -118,5 +118,5 @@ jobs: token: ${{ env.GITHUB_ACTIONS_SLACK_BOT_TOKEN }} payload: | channel: ${{ env.ASELO_DEPLOYS_CHANNEL_ID }} - text: "`[HRM]` Service reload requested by `${{ github.triggering_actor }}` to region `${{ inputs.region }}`, environment `${{ inputs.environment }}` :rocket:." + text: '`[HRM]` Service reload requested by `${{ github.triggering_actor }}` to region `${{ inputs.region }}`, environment `${{ inputs.environment }}` :rocket:.' if: ${{ inputs.send-slack-message != 'false' }} diff --git a/.github/workflows/hrm-lambda-deploy.yml b/.github/workflows/hrm-lambda-deploy.yml index d5dab23af..9f4172e83 100644 --- a/.github/workflows/hrm-lambda-deploy.yml +++ b/.github/workflows/hrm-lambda-deploy.yml @@ -216,7 +216,7 @@ jobs: token: ${{ env.GITHUB_ACTIONS_SLACK_BOT_TOKEN }} payload: | channel: ${{ env.ASELO_DEPLOYS_CHANNEL_ID }} - text: "`[HRM lambdas - ${{ inputs.lambda_path }}]` Deployment of ${{ github.ref_type }} `${{ github.ref_name }}` requested by `${{ github.triggering_actor }}` completed with SHA ${{ github.sha }} to region `${{ matrix.region }}`, environment `${{ inputs.environment }}` :rocket:." + text: '`[HRM lambdas - ${{ inputs.lambda_path }}]` Deployment of ${{ github.ref_type }} `${{ github.ref_name }}` requested by `${{ github.triggering_actor }}` completed with SHA ${{ github.sha }} to region `${{ matrix.region }}`, environment `${{ inputs.environment }}` :rocket:.' if: ${{ inputs.send-slack-message != 'false' }} # Update deployment matrix with region as identifier and lambda path as service repo diff --git a/.github/workflows/hrm-transcript-scrubber-ecs-deploy.yml b/.github/workflows/hrm-transcript-scrubber-ecs-deploy.yml index 56e7d4e58..32e22d404 100644 --- a/.github/workflows/hrm-transcript-scrubber-ecs-deploy.yml +++ b/.github/workflows/hrm-transcript-scrubber-ecs-deploy.yml @@ -201,7 +201,7 @@ jobs: token: ${{ env.GITHUB_ACTIONS_SLACK_BOT_TOKEN }} payload: | channel: ${{ env.ASELO_DEPLOYS_CHANNEL_ID }} - text: "`[HRM Transcript Scrubber]` Deployment of ${{ github.ref_type }} `${{ github.ref_name }}` requested by `${{ github.triggering_actor }}` completed with SHA ${{ github.sha }} to region `${{ inputs.region }}`, environment `${{ inputs.environment }}` :rocket:." + text: '`[HRM Transcript Scrubber]` Deployment of ${{ github.ref_type }} `${{ github.ref_name }}` requested by `${{ github.triggering_actor }}` completed with SHA ${{ github.sha }} to region `${{ inputs.region }}`, environment `${{ inputs.environment }}` :rocket:.' if: ${{ inputs.send-slack-message != 'false' }} # # Update deployment matrix