Skip to content

ci: add weekly SDL pipeline for CodeQL/CredScan compliance#449

Merged
corinagum merged 1 commit into
mainfrom
nightly-sdl
Jun 5, 2026
Merged

ci: add weekly SDL pipeline for CodeQL/CredScan compliance#449
corinagum merged 1 commit into
mainfrom
nightly-sdl

Conversation

@corinagum

Copy link
Copy Markdown
Contributor

Adds a scheduled ADO pipeline (.azdo/sdl.yml) using the 1ES.Official.PipelineTemplate that runs weekly on main.

Why: The publish pipeline is manually triggered and cannot guarantee CodeQL/CredScan run regularly on the default branch. This pipeline ensures continuous SDL compliance independent of release cadence.

How it works: The 1ES Official template auto-injects CodeQL 3000 and CredScan in the SDL Sources stage. For interpreted languages, scanning is automatic based on file detection — no build step is needed.

Schedule: Mondays at 08:00 UTC (always: true ensures it runs even without code changes).

Note: After merging, a pipeline definition must be created in ADO (DomoreexpGithub/Github_Pipelines) pointing to this YAML file for the schedule to activate.

Related:

@corinagum
corinagum marked this pull request as ready for review June 5, 2026 17:43
Copilot AI review requested due to automatic review settings June 5, 2026 17:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new Azure DevOps scheduled pipeline to run SDL tooling (CodeQL 3000 + CredScan via the 1ES Official template) on main weekly, ensuring continuous compliance independent of the manual publish pipeline.

Changes:

  • Introduces a new scheduled pipeline definition at .azdo/sdl.yml.
  • Configures a weekly Monday 08:00 UTC schedule on the main branch with always: true.
  • Uses 1ES.Official.PipelineTemplate to run an SDL analysis stage/job on the 1ES Windows 2022 pool.

Comment thread .azdo/sdl.yml Outdated
Adds a scheduled pipeline using 1ES.Official template that runs weekly
on main. The Official template auto-injects CodeQL 3000 and CredScan
in the SDL Sources stage (interpreted languages are auto-detected).

Ensures SFI-PS2.1 (Continuous SDL) compliance without relying on the
manually-triggered publish pipeline.

Co-authored-by: Copilot <[email protected]>

@heyitsaamir heyitsaamir left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stamp

@heyitsaamir heyitsaamir left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stamp

@corinagum
corinagum merged commit f90b69d into main Jun 5, 2026
4 checks passed
@corinagum
corinagum deleted the nightly-sdl branch June 5, 2026 19:06
pull Bot pushed a commit to Mattlk13/teams.ts that referenced this pull request Jun 5, 2026
…#608)

Adds a scheduled ADO pipeline (`.azdo/sdl.yml`) using the
`1ES.Official.PipelineTemplate` that runs weekly on `main`.

**Why:** The publish pipeline is manually triggered and cannot guarantee
CodeQL/CredScan run regularly on the default branch. This pipeline
ensures continuous SDL compliance independent of release cadence.

**How it works:** The 1ES Official template auto-injects CodeQL 3000 and
CredScan in the SDL Sources stage. For interpreted languages, scanning
is automatic based on file detection — no build step is needed.

**Schedule:** Mondays at 08:00 UTC (`always: true` ensures it runs even
without code changes).

**Note:** After merging, a pipeline definition must be created in ADO
(DomoreexpGithub/Github_Pipelines) pointing to this YAML file for the
schedule to activate.

**Related:**
- microsoft/teams.py#366
- microsoft#607
- microsoft/teams.py#449 (PY counterpart)

Co-authored-by: Copilot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants