Skip to content

Commit d974ec8

Browse files
committed
add internal to slack notification if needed
1 parent ec97e60 commit d974ec8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/init_container.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ jobs:
158158
uses: rtCamp/action-slack-notify@v2.2.0
159159
env:
160160
SLACK_CHANNEL: devops-alerts
161-
SLACK_COLOR: ${{ job.status }} # or a specific color like 'good' or '#ff00ff'
162-
SLACK_MESSAGE: "Tag ${{ inputs.release_tag }} | Platform ${{ matrix.agents.name }}"
163-
SLACK_TITLE: Init contianer build status - ${{ job.status }}
161+
SLACK_COLOR: ${{ job.status }}
162+
SLACK_MESSAGE: "Tag ${{ inputs.release_tag }} ${{ inputs.is_internal == 'true' && ' (Internal)' || '' }} | Platform ${{ matrix.agents.name }}"
163+
SLACK_TITLE: Init container ${{ inputs.is_internal == 'true' && ' (Internal)' || '' }} build status - ${{ job.status }}
164164
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}

0 commit comments

Comments
 (0)