diff --git a/.ci-policy.md b/.ci-policy.md new file mode 100644 index 0000000..4a3e6f9 --- /dev/null +++ b/.ci-policy.md @@ -0,0 +1 @@ +CodeQL scans main weekly to batch native analysis between infrequent changes; PR checks and release gates remain unchanged. diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 059cf79..260f619 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,8 +1,6 @@ name: CodeQL on: - push: - branches: [main] pull_request: schedule: - cron: '17 6 * * 1' @@ -11,8 +9,8 @@ permissions: contents: read concurrency: - group: codeql-${{ github.ref }} - cancel-in-progress: true + group: codeql-${{ github.event_name }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: analyze: diff --git a/CHANGELOG.md b/CHANGELOG.md index cfd298b..7f29d0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +- Run main CodeQL analysis on the existing weekly schedule instead of every push, preserving PR scans and allowing scheduled scans to finish. + ## 0.3.9 - 2026-10-20 **Highlights:** Repeated reminder targets are handled once with accurate counts, and all-digit reminder ID prefixes now resolve correctly.