Skip to content

Commit 21177e9

Browse files
committed
chore(gha): update yamllint.yml GitHub workflow
1 parent 30bcc60 commit 21177e9

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/yamllint.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
name: Validate YAML files
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v4
2222
- name: Validate YAML files
2323
run: |
2424
if [ -f .yamllint.yml ]; then
@@ -29,4 +29,16 @@ jobs:
2929
yamllint -d "{extends: relaxed, rules: {line-length: disable}}" .
3030
fi
3131
32+
notify:
33+
needs: [validate-yaml]
34+
if: failure()
35+
runs-on: ubuntu-20.04
36+
steps:
37+
- name: Notify
38+
uses: mobsuccess-devops/github-actions-notify@master
39+
with:
40+
notify-type: "workflow-failure"
41+
slack-token: ${{ secrets.SLACK_TOKEN_MSBOT }}
42+
slack-channel: ${{ vars.SLACK_CHANNEL_NOTIFY_WORKFLOW_FAIL }}
43+
platform-pat: ${{ secrets.MS_PLATFORM_LIST_USERS_PAT }}
3244
# DO NOT EDIT: END

0 commit comments

Comments
 (0)