You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+24
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,7 @@ then make sure that you configure this in your `package.json` file:
51
51
| extra_plugins | false | Extra plugins for pre-install. [[Details](#extra_plugins)] |
52
52
| dry_run | false | Whether to run semantic release in `dry-run` mode. [[Details](#dry_run)] |
53
53
| ci | false | Whether to run semantic release with CI support. [[Details](#ci)]<br>Support for **semantic-release above v16**. |
54
+
| unset_gha_env | false | Whether to unset the GITHUB_ACTIONS environment variable. |
54
55
| extends | false | Use a sharable configuration [[Details](#extends)] |
55
56
| working_directory | false | Use another working directory for semantic release [[Details](#working_directory)] |
56
57
| tag_format | false | Specify format of tag (useful for monorepos) |
@@ -264,6 +265,29 @@ steps:
264
265
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
265
266
```
266
267
268
+
#### unset_gha_env
269
+
Setting this to true will unset the `GITHUB_ACTIONS` environment variable. This can be useful when wanting to validate things such as merging of a PR would create a valid release.
0 commit comments