-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #795 from techmatters/gian_fix-slack-action
fix: slack action v2.0.0 parameters update
- Loading branch information
Showing
4 changed files
with
20 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -215,10 +215,11 @@ jobs: | |
id: slack | ||
uses: slackapi/[email protected] | ||
with: | ||
channel-id: ${{ env.ASELO_DEPLOYS_CHANNEL_ID }} | ||
slack-message: '`[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:.' | ||
env: | ||
SLACK_BOT_TOKEN: ${{ env.GITHUB_ACTIONS_SLACK_BOT_TOKEN }} | ||
method: chat.postMessage | ||
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:." | ||
if: ${{ inputs.send-slack-message != 'false' }} | ||
|
||
# Update deployment matrix | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -114,8 +114,9 @@ jobs: | |
id: slack | ||
uses: slackapi/[email protected] | ||
with: | ||
channel-id: ${{ env.ASELO_DEPLOYS_CHANNEL_ID }} | ||
slack-message: '`[HRM]` Service reload requested by `${{ github.triggering_actor }}` to region `${{ inputs.region }}`, environment `${{ inputs.environment }}` :rocket:.' | ||
env: | ||
SLACK_BOT_TOKEN: ${{ env.GITHUB_ACTIONS_SLACK_BOT_TOKEN }} | ||
method: chat.postMessage | ||
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:." | ||
if: ${{ inputs.send-slack-message != 'false' }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -212,10 +212,11 @@ jobs: | |
id: slack | ||
uses: slackapi/[email protected] | ||
with: | ||
channel-id: ${{ env.ASELO_DEPLOYS_CHANNEL_ID }} | ||
slack-message: '`[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:.' | ||
env: | ||
SLACK_BOT_TOKEN: ${{ env.GITHUB_ACTIONS_SLACK_BOT_TOKEN }} | ||
method: chat.postMessage | ||
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:." | ||
if: ${{ inputs.send-slack-message != 'false' }} | ||
|
||
# Update deployment matrix with region as identifier and lambda path as service repo | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -197,10 +197,11 @@ jobs: | |
id: slack | ||
uses: slackapi/[email protected] | ||
with: | ||
channel-id: ${{ env.ASELO_DEPLOYS_CHANNEL_ID }} | ||
slack-message: '`[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:.' | ||
env: | ||
SLACK_BOT_TOKEN: ${{ env.GITHUB_ACTIONS_SLACK_BOT_TOKEN }} | ||
method: chat.postMessage | ||
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:." | ||
if: ${{ inputs.send-slack-message != 'false' }} | ||
|
||
# # Update deployment matrix | ||
|