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 1 commit into from Jun 30, 2021


Copy link

@MaksimZhukov MaksimZhukov commented Jun 29, 2021

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.

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
46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

3 participants