Skip to content
Draft
Show file tree
Hide file tree
Changes from all 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
5 changes: 4 additions & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ permissions:
id-token: write # Required to log in to Azure.
contents: read
checks: read # Required by reusable-test.yml to check build status.
security-events: write # Required by codeql task.
issues: write # Required to create issues.

jobs:
Expand Down Expand Up @@ -337,6 +336,10 @@ jobs:
# Always run this job.
needs: regular
if: github.event_name == 'schedule' || github.event_name == 'pull_request' || github.event_name == 'push' || github.event_name == 'merge_group' || github.event_name == 'workflow_dispatch'
permissions:
checks: read
contents: read
security-events: write
uses: ./.github/workflows/ossar-scan.yml
with:
build_artifact: Build-x64
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ permissions:
id-token: write # Required to log in to Azure.
contents: read
checks: read # Required by reusable-test.yml to check build status.
security-events: write # Required by codeql task.
issues: write # Required to create issues.

jobs:
Expand All @@ -33,6 +32,9 @@ jobs:
codeql:
# Only run during daily scheduled run
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
permissions:
contents: read
security-events: write # Required by codeql task.
uses: ./.github/workflows/reusable-build.yml
with:
ref: ${{ github.ref }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ on:

permissions:
contents: read
security-events: write # Required by codeql-action/analyze when build_codeql is true.

jobs:
build:
Expand Down
Loading