diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 65064323e97..034b5ef4dbd 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -12,10 +12,10 @@ name: "CodeQL" on: - push: - branches: [ "main" ] pull_request: branches: [ "main" ] + paths: + - "msgraph_beta/**" schedule: - cron: '1 * * * 1' diff --git a/pyproject.toml b/pyproject.toml index 3f88c41f20e..03ef36b13ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,6 +4,12 @@ build-backend = "flit_core.buildapi" [project] name = "msgraph-beta-sdk" + +# Pin metadata to 2.3 until ESRP Release supports License-Expression over the +# deprecated License field. Update License to License-Expression when unpinning +# metadata version. +metadata-version = 2.3 + # The SDK version # x-release-please-start-version version = "1.59.0"