Skip to content

ci(alerts): auth remaining npm-ci workflows to private GitHub Packages - #1462

Merged
jung-thomas merged 1 commit into
mainfrom
ci-auth-remaining-workflows
Aug 3, 2026
Merged

ci(alerts): auth remaining npm-ci workflows to private GitHub Packages#1462
jung-thomas merged 1 commit into
mainfrom
ci-auth-remaining-workflows

Conversation

@jung-thomas

Copy link
Copy Markdown
Contributor

Follow-up to the ANS integration (#1457). Six workflows still root-npm ci the private @sap-tutorials/cds-alert-notification dep without registry auth — they'd hit 401 Unauthorized the next time they run (deploy, docs publish, nightlies, content rebuilds). This adds the same packages: read + NODE_AUTH_TOKEN (built-in GITHUB_TOKEN, PACKAGES_READ_TOKEN fallback) pattern already proven on the PR-gating checks.

Scope — root installs only:

  • deploy.yml — 4 jobs (deploy prefetch @194, smoke-test, e2e, a11y-scan)
  • docs-deploy.yml, mcp-ux-weekly.yml, content-drift-check.yml, rebuild-content.yml, rebuild-content-qa.yml

Deliberately untouched: npm --prefix hugo-apps/app/* subdir installs (don't pull the root dep) and the existing create-github-app-token steps in content-drift/rebuild (used for tutorial-fetch — preserved). mcp-ux-weekly gained a job permissions block (it had none).

All 6 YAML-validated. Completes the CI-auth coverage so no workflow 401s on the alerts dep.

🤖 Generated with Claude Code

The deploy + scheduled/dispatch workflows all root-npm-ci the alerts dep
(@sap-tutorials/cds-alert-notification) and would 401 on next run. Add
packages:read + NODE_AUTH_TOKEN (built-in GITHUB_TOKEN, PACKAGES_READ_TOKEN
fallback) to every ROOT install site:
- deploy.yml: 4 jobs (deploy prefetch, smoke-test, e2e, a11y-scan)
- docs-deploy, mcp-ux-weekly, content-drift-check, rebuild-content, rebuild-content-qa

Only root installs touched; --prefix subdir installs and existing App-token
steps (tutorial-fetch) left intact.
@jung-thomas
jung-thomas merged commit 61afb8b into main Aug 3, 2026
2 of 3 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.

1 participant