Skip to content

ci: add Dependabot, least-privilege token permissions, and pin actions - #67

Open
rivassec wants to merge 1 commit into
elastic:mainfrom
rivassec:harden/ci-supply-chain
Open

ci: add Dependabot, least-privilege token permissions, and pin actions#67
rivassec wants to merge 1 commit into
elastic:mainfrom
rivassec:harden/ci-supply-chain

Conversation

@rivassec

Copy link
Copy Markdown

Small, additive CI-hardening for this distributed reference app (publishes an npm tarball + .mcpb bundle on tag):

  • Add .github/dependabot.yml for the npm and github-actions ecosystems (weekly) so runtime/transitive and action deps get update PRs.
  • Add top-level permissions: contents: read to ci.yml (it currently relies on the default token scope; it only checks out, builds, and tests). release.yml / update-cursor-button.yml keep their existing write scopes.
  • Pin actions/checkout and actions/setup-node to commit SHAs (with version comments).

No behavior change.

@cla-checker-service

cla-checker-service Bot commented Aug 24, 2026

Copy link
Copy Markdown

💚 CLA has been signed

@rivassec
rivassec force-pushed the harden/ci-supply-chain branch from 495c08a to 43da3b4 Compare August 24, 2026 00:37
- Add .github/dependabot.yml for npm and github-actions (weekly, limit 5).
- Add top-level `permissions: contents: read` to CI workflow.
- SHA-pin actions/checkout and actions/setup-node across all workflows.
@rivassec
rivassec force-pushed the harden/ci-supply-chain branch from 43da3b4 to 85ce576 Compare August 24, 2026 00:39
@rivassec
rivassec marked this pull request as ready for review August 24, 2026 00:41
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.

1 participant