Skip to content

Commit

Permalink
ci: update azd validation workflow (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
sinedied authored Aug 23, 2024
1 parent 6310dfb commit 36d8f75
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/azure-dev-validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Build Bicep for linting
uses: azure/CLI@v1
uses: azure/CLI@v2
with:
inlineScript: az config set bicep.use_binary_from_path=false && az bicep build -f infra/main.bicep --stdout

Expand All @@ -29,7 +31,7 @@ jobs:
tools: templateanalyzer

- name: Upload alerts to Security tab
if: github.repository == 'Azure-Samples/azure-search-openai-javascript'
uses: github/codeql-action/upload-sarif@v2
if: github.repository_owner == 'Azure-Samples'
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: ${{ steps.msdo.outputs.sarifFile }}

0 comments on commit 36d8f75

Please sign in to comment.