Skip to content

ci: pull request checks, least-privilege workflows, pinned actions, npm publish with SBOM, Dependabot, Scorecard - #568

Merged
MaksymStoianov merged 5 commits into
developfrom
ci/pr-checks-and-hardening
Nov 3, 2026
Merged

MaksymStoianov merged 5 commits into
developfrom
ci/pr-checks-and-hardening

Conversation

@MaksymStoianov

Copy link
Copy Markdown
Member

Merge first — it also fixes npm run type:check, which fails on develop since the rename (config/tsconfig.docs.json still resolved apps-script-utils).

  • ci.yml on PRs and pushes: type-check, lint, format, tests with coverage (new test:cov script), build, docs:check, npm audit --omit=dev, production licence check.
  • release-please.yml: per-job permissions; the npm publish job (trusted publishing, provenance) brought to develop (it existed only on main); SBOM attached to releases.
  • docs.yml: read-only token by default, write only in the deploy job — closes CodeQL missing-workflow-permissions alerts 14–16, 18.
  • All actions pinned by SHA; Dependabot (minor/patch grouped, majors skipped — same as bootgs/boot); OpenSSF Scorecard.

Validated with actionlint and action-validator.

🤖 Generated with Claude Code

MaksymStoianov and others added 5 commits November 3, 2026 16:17
The package was renamed, but config/tsconfig.docs.json still mapped the
old name, so `npm run type:check` failed on every documentation snippet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Maksym Stoianov <stoianov.maksym@gmail.com>
Type-check, lint, format check, tests with coverage, build, generated
docs and README translation checks, production dependency audit and a
production licence allow-list. Adds the test:cov script.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Maksym Stoianov <stoianov.maksym@gmail.com>
Permissions are declared per job. Restores the trusted-publishing job for
@bootgs/utils (repository bootgs/utils, environment npm) and attaches a
CycloneDX SBOM of the production tree to each release. Actions are pinned
by commit SHA.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Maksym Stoianov <stoianov.maksym@gmail.com>
The workflow token is read-only; only the deploy job gets contents,
pages and id-token write. Every action is pinned by commit SHA and
checkouts no longer persist credentials.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Maksym Stoianov <stoianov.maksym@gmail.com>
Dependabot updates npm and GitHub Actions weekly against develop.
Scorecard runs weekly and on pushes to main, uploading SARIF to code
scanning.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Maksym Stoianov <stoianov.maksym@gmail.com>
@MaksymStoianov
MaksymStoianov merged commit cf5827f into develop Nov 3, 2026
14 checks passed
@MaksymStoianov
MaksymStoianov deleted the ci/pr-checks-and-hardening branch November 3, 2026 16:25
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