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)

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>
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