Add Lint ARM Templates step #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint ARM Templates | |
on: | |
pull_request: | |
# paths: | |
# - ./deploy/azure/*.json | |
push: | |
branches: [ main ] | |
# paths: | |
# - ./deploy/azure/*.json | |
jobs: | |
lint-arm-ttk: | |
name: Lint ARM templates | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: microsoft/action-armttk@v1 | |
with: | |
github_token: ${{ secrets.github_token }} | |
# Change reviewdog reporter if you need [github-pr-check,github-check,github-pr-review]. | |
reporter: github-pr-review | |
glob_pattern: "./deploy/azure/*.json" |