We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eaf1055 commit b5bdd24Copy full SHA for b5bdd24
.github/workflows/update-image-digest.yml
@@ -109,3 +109,15 @@ jobs:
109
labels: automated pr, kind/cleanup, release-note-none
110
branch: update-digests
111
delete-branch: true
112
+
113
+ - name: Get previous job's status
114
+ id: lastrun
115
+ uses: filiptronicek/get-last-job-status@main
116
+ - name: Slack Notification
117
+ if: ${{ (success() && steps.lastrun.outputs.status == 'failed') || failure() }}
118
+ uses: rtCamp/action-slack-notify@v2
119
+ env:
120
+ SLACK_WEBHOOK: ${{ secrets.RELEASE_SLACK_WEBHOOK }}
121
+ SLACK_COLOR: ${{ job.status }}
122
+ SLACK_TITLE: "Update container images digest"
123
+ SLACK_FOOTER: "<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|Workflow logs>"
0 commit comments