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

Automate releasing new action versions #274

Merged
merged 1 commit into from
Jun 30, 2021

Conversation

MaksimZhukov
Copy link
Contributor

Description:
Currently, releasing new versions of the setup-node action is the manual and unreliable process. In scope of this PR we added a workflow file in order to automate creating/updating a major version tag when a new setup-node version is released. We use the actions/publish-action action for this purpose.

Details:
We added:

  • the workflow_dispatch event to manually trigger a workflow run;
  • the release webhook event to automatically trigger workflow run when a new action version is released;
  • the releaseNewActionVersion environment with protection rules to require a manual approval.

Reverting changes is almost the same process as updating major version tag. In case of any issues related to the updated tag, we have to manually trigger workflow run with the previous stable tag as a parameter.

@maxim-lobanov maxim-lobanov merged commit 9af8973 into main Jun 30, 2021
deining pushed a commit to deining/setup-node that referenced this pull request Nov 9, 2023
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
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