Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace release workflow and add node token as input #112

Merged
merged 5 commits into from
Nov 5, 2024

Conversation

antoinebhs
Copy link
Contributor

@antoinebhs antoinebhs commented Nov 5, 2024

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines

Does this PR already have an issue describing the problem?

No

What kind of change does this PR introduce?

In the publish workflow, it was necessary to generate a release notes to publish on npmjs, now running the action generate the release note and publish on npmjs. See README for details.
It also avoid using credentials of one person and node auth token is added as input (and masked for the rest of the action as per https://dev.to/leading-edje/masking-input-parameters-in-github-actions-1ci) waiting for a native implementation of this in github actions (https://github.com/orgs/community/discussions/12764)

This is based on the work of @TheMaskedTurtle in commons-ui (https://github.com/gridsuite/commons-ui/blob/main/.github/workflows/release.yml)

@antoinebhs antoinebhs force-pushed the replace-release-workflow branch from b2c728c to 48a6cbb Compare November 5, 2024 08:24
Signed-off-by: BOUHOURS Antoine <antoine.bouhours@rte-france.com>
@antoinebhs
Copy link
Contributor Author

It it works, we can probably also share the workflows of commons-ui and this repo in https://github.com/powsybl/github-ci/tree/main/.github/workflows

Signed-off-by: BOUHOURS Antoine <antoine.bouhours@rte-france.com>
Signed-off-by: BOUHOURS Antoine <antoine.bouhours@rte-france.com>
@antoinebhs antoinebhs force-pushed the replace-release-workflow branch from 94e5880 to e3cbf7f Compare November 5, 2024 09:55
flo-dup and others added 2 commits November 5, 2024 11:18
Signed-off-by: Florian Dupuy <66690739+flo-dup@users.noreply.github.com>
Co-authored-by: Florian Dupuy <66690739+flo-dup@users.noreply.github.com>
Signed-off-by: Antoine Bouhours <antoine.bouhours@rte-france.com>
Copy link

sonarcloud bot commented Nov 5, 2024

@flo-dup flo-dup merged commit 10977ba into main Nov 5, 2024
5 checks passed
@flo-dup flo-dup deleted the replace-release-workflow branch November 5, 2024 10:51
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