Skip to content

Commit

Permalink
chore(gha): update yamllint.yml GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ms-bot committed May 3, 2024
1 parent 39a388e commit e170ae3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/yamllint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,16 @@ jobs:
yamllint -d "{extends: relaxed, rules: {line-length: disable}}" .
fi
notify:
needs: [validate-yaml]
if: failure()
runs-on: ubuntu-20.04
steps:
- name: Notify
uses: mobsuccess-devops/github-actions-notify@master
with:
notify-type: "workflow-failure"
slack-token: ${{ secrets.SLACK_TOKEN_MSBOT }}
slack-channel: ${{ vars.SLACK_CHANNEL_NOTIFY_WORKFLOW_FAIL }}
platform-pat: ${{ secrets.MS_PLATFORM_LIST_USERS_PAT }}
# DO NOT EDIT: END

0 comments on commit e170ae3

Please sign in to comment.