Skip to content
Merged
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
6 changes: 6 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ on:
jobs:
analyze:
name: Analyze (${{ matrix.language }})
# Only run on the canonical template repository. Repos created from this
# template ("Use this template") don't have code scanning enabled, so
# CodeQL's upload would fail and crash the branch. Matching the source repo
# by name works across all triggers, including `schedule` where
# github.event.repository isn't populated.
if: github.repository == 'Azure-Samples/foundry-hosted-agents-workshop'
# Runner size impacts CodeQL analysis time. To learn more, please see:
# - https://gh.io/recommended-hardware-resources-for-running-codeql
# - https://gh.io/supported-runners-and-hardware-resources
Expand Down