Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ jobs:
publish:
name: Publish
runs-on: ubuntu-latest
# `environment: npm-publish` puts a human-in-the-loop gate in front
# of every npm publish to `@precisa-saude/*`. Configure required
# reviewers in Settings → Environments → npm-publish; without
# reviewers configured the gate is informational only (deployment
# marker shows in Actions UI but doesn't block). The job pauses on
# "waiting" until approved.
environment:
name: npm-publish
# `id-token: write` is for Sigstore attestations (`--provenance`),
# NOT for npm auth. Auth uses `NPM_TOKEN` org-secret — OIDC trusted
# publishing was evaluated and rejected because it requires manual
Expand Down
8 changes: 8 additions & 0 deletions templates/github/workflows/_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ jobs:
publish:
name: Publish
runs-on: ubuntu-latest
# `environment: npm-publish` puts a human-in-the-loop gate in front
# of every npm publish to `@precisa-saude/*`. Configure required
# reviewers in each consumer repo's Settings → Environments →
# npm-publish; without reviewers configured the gate is informational
# only (deployment marker shows in Actions UI but doesn't block).
# The job pauses on "waiting" until approved.
environment:
name: npm-publish
# `id-token: write` is for Sigstore attestations (`--provenance`),
# NOT for npm auth. Auth uses `NPM_TOKEN` org-secret — OIDC trusted
# publishing was evaluated and rejected because it requires manual
Expand Down