From 21177e9635f2758fb03da00a139f0e92d483a566 Mon Sep 17 00:00:00 2001 From: Mobsuccess Bot Date: Fri, 3 May 2024 08:51:53 +0000 Subject: [PATCH] chore(gha): update yamllint.yml GitHub workflow --- .github/workflows/yamllint.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/yamllint.yml b/.github/workflows/yamllint.yml index 7d6b771..c503f16 100644 --- a/.github/workflows/yamllint.yml +++ b/.github/workflows/yamllint.yml @@ -18,7 +18,7 @@ jobs: name: Validate YAML files runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Validate YAML files run: | if [ -f .yamllint.yml ]; then @@ -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