Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/azure-bicep-validate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Validate bicep scripts
on:
workflow_dispatch:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Azure CLI script
uses: azure/CLI@v1
with:
inlineScript: az config set bicep.use_binary_from_path=false && az bicep build -f infra/main.bicep

- name: Run Microsoft Security DevOps Analysis
uses: microsoft/security-devops-action@preview
env:
GDN_TEMPLATEANALYZER_VERBOSE: 1
id: msdo
with:
tools: templateanalyzer

- name: Upload alerts to Security tab
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: ${{ steps.msdo.outputs.sarifFile }}
48 changes: 0 additions & 48 deletions infra/core/database/cosmos/cosmos-account.bicep

This file was deleted.

22 changes: 0 additions & 22 deletions infra/core/database/cosmos/mongo/cosmos-mongo-account.bicep

This file was deleted.

46 changes: 0 additions & 46 deletions infra/core/database/cosmos/mongo/cosmos-mongo-db.bicep

This file was deleted.

21 changes: 0 additions & 21 deletions infra/core/database/cosmos/sql/cosmos-sql-account.bicep

This file was deleted.

73 changes: 0 additions & 73 deletions infra/core/database/cosmos/sql/cosmos-sql-db.bicep

This file was deleted.

18 changes: 0 additions & 18 deletions infra/core/database/cosmos/sql/cosmos-sql-role-assign.bicep

This file was deleted.

29 changes: 0 additions & 29 deletions infra/core/database/cosmos/sql/cosmos-sql-role-def.bicep

This file was deleted.

Loading