File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1212jobs :
1313 build :
1414 runs-on : ubuntu-latest
15+ permissions :
16+ security-events : write
1517 steps :
1618 - name : Checkout
1719 uses : actions/checkout@v4
1820
1921 - name : Build Bicep for linting
20- uses : azure/CLI@v1
22+ uses : azure/CLI@v2
2123 with :
2224 inlineScript : az config set bicep.use_binary_from_path=false && az bicep build -f infra/main.bicep --stdout
2325
2931 tools : templateanalyzer
3032
3133 - name : Upload alerts to Security tab
32- if : github.repository == 'Azure-Samples/azure-search-openai-javascript '
33- uses : github/codeql-action/upload-sarif@v2
34+ if : github.repository_owner == 'Azure-Samples'
35+ uses : github/codeql-action/upload-sarif@v3
3436 with :
3537 sarif_file : ${{ steps.msdo.outputs.sarifFile }}
You can’t perform that action at this time.
0 commit comments