From e170ae3d8eda9e3075d612531fd6694c905d00ac Mon Sep 17 00:00:00 2001 From: Mobsuccess Bot Date: Fri, 3 May 2024 09:19:10 +0000 Subject: [PATCH] chore(gha): update yamllint.yml GitHub workflow --- .github/workflows/yamllint.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/yamllint.yml b/.github/workflows/yamllint.yml index fad61999..c503f166 100644 --- a/.github/workflows/yamllint.yml +++ b/.github/workflows/yamllint.yml @@ -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