Skip to content

Commit 02cdc13

Browse files
add security-events write permission (#290)
## Purpose * ... partially fix #285 ## Does this introduce a breaking change? ``` [ ] Yes [ ] No ``` ## Pull Request Type What kind of change does this Pull Request introduce? ``` [ ] Bugfix [ ] Feature [ ] Code style update (formatting, local variables) [ ] Refactoring (no functional changes, no api changes) [ ] Documentation content changes [ ] Other... Please describe: ``` ## How to Test * Get the code ``` git clone [repo-address] cd [repo-name] git checkout [branch-name] npm install ``` * Test the code ``` ``` ## What to Check Verify that the following are valid * ... ## Other Information
1 parent 6e7f237 commit 02cdc13

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/azure-dev-validation.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ on:
1010
paths:
1111
- "infra/**"
1212

13+
permissions:
14+
contents: read
15+
actions: read
16+
security-events: write
17+
1318
jobs:
1419
build:
1520

@@ -31,7 +36,7 @@ jobs:
3136
tools: templateanalyzer
3237

3338
- name: Upload alerts to Security tab
34-
uses: github/codeql-action/upload-sarif@v2
39+
uses: github/codeql-action/upload-sarif@v3
3540
if: github.repository == 'Azure-Samples/azure-search-openai-demo-csharp'
3641
with:
3742
sarif_file: ${{ steps.msdo.outputs.sarifFile }}

0 commit comments

Comments
 (0)