Skip to content

chore: add changesets/action for npm release#503

Merged
behnazh-w merged 3 commits into
stagingfrom
add-changeset-action-npm-publish
Oct 5, 2023
Merged

chore: add changesets/action for npm release#503
behnazh-w merged 3 commits into
stagingfrom
add-changeset-action-npm-publish

Conversation

@behnazh-w

Copy link
Copy Markdown
Member

This PR adds changesets/action to the list of GitHub Actions used to publish npm packages. An example project that uses this Action to automate releases is sigstore/sigstore-js. Note that there is a TODO to also check the publish input provided to this Action to improve detection accuracy.

This PR also fixes a bug for using the deploy github_actions for build tools. Previously, only the github_actions of pip build tool was read from defaults.ini and used in build_as_code_check.py. This fix removes this hard-coded read from defaults.ini and makes it applicable to all build tools.

This PR adds changesets/action to the list of GitHub Actions used to publish npm packages. An example project that uses this Action to automate retore-js to automate releases is sigstore/sigstore-js.

This PR also fixes a bug for using deploy `github_actions` for build tools. Previously, only the `github_actions` of `pip` build tool was read from `defaults.ini` and used in `build_as_code_check.py`. This fix removes this hard-coded read from `defaults.ini` and makes it applicable to all build tools.

Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
@behnazh-w behnazh-w requested a review from tromai as a code owner October 5, 2023 00:16
@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Oct 5, 2023
Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
Comment thread src/macaron/config/defaults.ini
Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
@behnazh-w behnazh-w merged commit 867b1b8 into staging Oct 5, 2023
@behnazh-w behnazh-w deleted the add-changeset-action-npm-publish branch October 10, 2023 03:41
art1f1c3R pushed a commit that referenced this pull request Nov 29, 2024
This PR adds `changesets/action` to the list of GitHub Actions used to publish
npm packages. An example project that uses this Action to automate releases 
is `sigstore/sigstore-js`. Note that there is a TODO to also check the `publish` input 
provided to this Action to improve detection accuracy.

This PR also fixes a bug for using the deploy `github_actions` for build tools.
Previously,  only the `github_actions` of pip build tool was read from 
`defaults.ini` and used in  `build_as_code_check.py`. This fix removes this 
hard-coded read from `defaults.ini` and makes it applicable to all build tools.

Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants