File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Validate bicep templates
2+ on :
3+ push :
4+ branches :
5+ - main
6+ paths :
7+ - " **/*.bicep"
8+ pull_request :
9+ branches :
10+ - main
11+ paths :
12+ - " **/*.bicep"
13+ workflow_dispatch :
14+
15+ jobs :
16+ build :
17+ runs-on : ubuntu-latest
18+ permissions :
19+ security-events : write
20+ steps :
21+ - name : Checkout
22+ uses : actions/checkout@v4
23+
24+ - name : Run Microsoft Security DevOps Analysis
25+ uses : microsoft/security-devops-action@preview
26+ id : msdo
27+ continue-on-error : true
28+ with :
29+ tools : templateanalyzer
30+
31+ - name : Upload alerts to Security tab
32+ uses : github/codeql-action/upload-sarif@v3
33+ if : github.repository_owner == 'Azure-Samples'
34+ with :
35+ sarif_file : ${{ steps.msdo.outputs.sarifFile }}
You can’t perform that action at this time.
0 commit comments