Skip to content

Commit 64665a6

Browse files
committed
cleanup
1 parent 2ea5693 commit 64665a6

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.github/workflows/ubi-rust-builder.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -81,27 +81,21 @@ jobs:
8181
# Uses the keyless signing flow with Github Actions as identity provider
8282
cosign sign -y "$MANIFEST_LIST_NAME@$DIGEST"
8383
84-
# gh workflow run ubi-rust-builder.yml --ref slack-notifications
8584
notify:
85+
name: Failure Notification
8686
needs: [build, create_manifest]
8787
runs-on: ubuntu-latest
8888
if: failure()
8989
steps:
90-
- name: Determine success/failure
91-
shell: bash
92-
run: |
93-
set -euo pipefail
94-
# todo
95-
- id: deployment_message
96-
uses: slackapi/[email protected]
90+
- uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0
9791
with:
98-
channel-id: "C07UG7RS44X"
92+
channel-id: "C07UG7RS44X" # notifications-container-images-testing
9993
payload: |
10094
{
101-
"text": "Workflow failed",
95+
"text": "Workflow failed for ${{ github.workflow }}",
10296
"attachments": [
10397
{
104-
"pretext": "Holy moly",
98+
"pretext": "See the details below for a summary of which job(s) failed.",
10599
"color": "#aa0000",
106100
"fields": [
107101
{

0 commit comments

Comments
 (0)