Skip to content

Add supply chain security defaults#183

Merged
claire153 merged 4 commits into
mainfrom
copilot/supply-chain-security-defaults-20260521
May 22, 2026
Merged

Add supply chain security defaults#183
claire153 merged 4 commits into
mainfrom
copilot/supply-chain-security-defaults-20260521

Conversation

@claire153
Copy link
Copy Markdown
Contributor

@claire153 claire153 commented May 21, 2026

Adopts the recommended supply chain security defaults.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@claire153 claire153 marked this pull request as ready for review May 21, 2026 18:47
@claire153 claire153 requested a review from a team as a code owner May 21, 2026 18:47
Copilot AI review requested due to automatic review settings May 21, 2026 18:47
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adopts repository-level “supply chain security defaults” by adding guardrail configuration and annotating existing CI/CD workflows with security review TODOs.

Changes:

  • Adds an npm install constraint via .npmrc (min-release-age=3).
  • Adds Dependabot “cooldown” configuration for GitHub Actions and npm updates.
  • Adds security-focused TODO comments to multiple GitHub Actions workflows (pinning actions; reviewing permissions/provenance).
Show a summary per file
File Description
.npmrc Introduces an npm configuration default intended to reduce supply-chain risk from very new releases.
.github/workflows/test.yml Adds a TODO to review pinning GitHub-owned actions to commit SHAs.
.github/workflows/publish.yml Adds TODOs around release/publish security posture (provenance/credentials) and action pinning.
.github/workflows/dependency-submission-example.yml Adds TODOs to reassess required permissions and pinning for the example workflow.
.github/workflows/codeql-analysis.yml Adds a TODO comment near the steps: section (but currently results in invalid YAML due to indentation).
.github/dependabot.yml Adds a “cooldown” window to slow down automated update cadence.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 6/6 changed files
  • Comments generated: 1

Comment on lines 39 to 42
steps:
# TODO(security): Review pinning GitHub-owned actions to full commit SHAs once an update process is in place.
- name: Checkout repository
uses: actions/checkout@v5
claire153 and others added 3 commits May 21, 2026 16:42
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Comment thread .github/workflows/codeql-analysis.yml Outdated
@claire153 claire153 merged commit 9bfe7e7 into main May 22, 2026
6 checks passed
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