Skip to content

Conversation

@jgilbert01
Copy link
Owner

No description provided.

@jgilbert01 jgilbert01 requested a review from petermyers October 16, 2025 13:14
- run: npm test
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
Copy link
Owner Author

Choose a reason for hiding this comment

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

  • i setup the trusted publisher on the npm side
  • i think these r the only changes needed on this side

@jgilbert01 jgilbert01 changed the title npm-oidc enabled pipelines env var and npm-oidc Oct 31, 2025
@jgilbert01 jgilbert01 requested a review from petermyers October 31, 2025 03:09
const assemble = (opt) => (head, includeFaultHandler = true) => {
const disabledPipelines = process.env.DISABLED_PIPELINES?.split(',');
const enabledPipelines = (opt.ENABLED_PIPELINES || process.env.ENABLED_PIPELINES)?.split(',');
const disabledPipelines = (opt.DISABLED_PIPELINES || process.env.DISABLED_PIPELINES)?.split(',');
Copy link
Collaborator

Choose a reason for hiding this comment

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

For sure fine as is, but I’ve been burned by this before…should we add a .map(pipeline => pipeline.trim() to the end of these to catch someone adding a space after a comma in the envar?

@jgilbert01 jgilbert01 merged commit 923645c into master Nov 1, 2025
2 checks passed
@jgilbert01 jgilbert01 deleted the npm-oidc branch November 1, 2025 20:47
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