Skip to content

Commit

Permalink
Finalize workflow
Browse files Browse the repository at this point in the history
Signed-off-by: thepetk <[email protected]>
  • Loading branch information
thepetk committed Jan 16, 2024
1 parent 4470535 commit ba1363c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/validate-stacks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,10 @@ jobs:
slack_notification:
name: send slack notification
runs-on: ubuntu-latest
if: ${{ always() && contains(join(needs.*.result, ','), 'failure') && github.event_name == 'schedule' }}
needs: [validate-devfile-schema, non-terminating, odov2, odov3]
steps:
- name: Send slack notification
if: ${{ always() && contains(needs.*.result, 'failure') && github.event_name == 'schedule' }}
uses: slackapi/slack-github-action@e28cf165c92ffef168d23c5c9000cffc8a25e117 # v1.24.0
with:
channel-id: ${{ secrets.SLACK_CHANNEL_ID }}
Expand All @@ -174,7 +174,7 @@ jobs:
"type": "section",
"text": {
"type": "mrkdwn",
"text": "*Status:* :red_circle: failure\n*Severity:* medium\n*Title:* Registry's validate stacks nightly run\n*Description:* run failed for HEAD_REF ${{ github.head_ref }}"
"text": "*Status:* :red_circle: failure\n*Severity:* medium\n*Title:* Registry's validate stacks nightly run\n*Description:* run failed for HEAD_REF ${{ github.ref }}"
}
},
{
Expand Down

0 comments on commit ba1363c

Please sign in to comment.