Skip to content

Uses reusable workflow to set up a OIDC backed npm publishing github action#155

Merged
timothychiao merged 2 commits intomainfrom
oidc
Oct 23, 2025
Merged

Uses reusable workflow to set up a OIDC backed npm publishing github action#155
timothychiao merged 2 commits intomainfrom
oidc

Conversation

@timothychiao
Copy link
Copy Markdown
Contributor

Change-Id: Ic744b089333b05bd783cf91439b6732d6318dd27

@timothychiao
Copy link
Copy Markdown
Contributor Author

do we want to do anything special regarding the deployment? i.e have it blocked behind some of the other actions?

Comment thread .github/workflows/publish.yml Outdated
on:
push:
tags:
- "*"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This will publish to NPM whenever we push a commit with any tag, right?
Would we prefer to more narrowly define with only v* tags? I know that's the only tags we have right now, but would prefer to exercise caution.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Any thoughts as well on if we should allow manual runs of this workflow or not?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

sure, v tag makes sense.

added workflow_dispatch, if just to make it easier for testing.

@ddseo
Copy link
Copy Markdown
Collaborator

ddseo commented Oct 17, 2025

do we want to do anything special regarding the deployment? i.e have it blocked behind some of the other actions?

I think the existing actions should be blocking the pull requests accordingly, so I don't think there's additional action needed.

@timothychiao
Copy link
Copy Markdown
Contributor Author

talked to search, they said they forked the repos into personal github and published locally to push a new tag. they also mentioned that in the actual repo, they published a beta version first before the stable version. imo, the latter seems sufficient, unless you have a strong opinion here.

…action

Change-Id: Ie13b04d548d7cb7ae127e2bbe5257f6b0ff7ce95
similar to search, upping the minor version, since we are now
publishing with oidc and thus have a provenance badge in npm

Change-Id: I2b0fbd05b8e4caf733b0aa760bc0ad377025ac9b
@ddseo ddseo requested review from ddseo and removed request for jiatengMao October 23, 2025 15:07
@timothychiao timothychiao merged commit 5781909 into main Oct 23, 2025
12 checks passed
@timothychiao timothychiao deleted the oidc branch October 23, 2025 17:28
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.

2 participants