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 30bcc60 commit 21177e9
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/yamllint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 21177e9

Please sign in to comment.