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: CHANGELOG.md
+10
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,16 @@ All notable changes to `Forker` will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [0.0.6] - 2022-10-12
9
+
10
+
### Added
11
+
12
+
- A new GitHub Action `output` which allows the value of the `forkUrl` string to be accessed by subsequent steps in a GitHub Workflow.
13
+
14
+
### Changed
15
+
16
+
- Upgraded action runner config to use node v16 (support for v12 is [being deprecated](https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/)).
Copy file name to clipboardexpand all lines: README.md
+18-4
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,8 @@ If the `checkUser` option is enabled, `forker` will check the specified GitHub o
11
11
12
12
For legal and compliance reasons, organizations or individuals can choose to provide an optional `licenseAllowlist` to compare against the [license of the repository](https://docs.github.com/en/rest/reference/licenses) being forked. If the license key returned by the GitHub API is not found within the provided allowlist, `forker` will exit without forking the repository, and display an error.
13
13
14
+
---
15
+
14
16
## Inputs
15
17
16
18
### `token` (string, required)
@@ -79,14 +81,24 @@ A newline-delimited (`"\n"`) string representing a list of allowed [license keys
79
81
80
82
**Example:**`"0bsd\napache-2.0\nmit"`
81
83
84
+
## Outputs
85
+
86
+
### `forkUrl` (string)
87
+
88
+
A string representing the HTTPS URL of the newly-forked repository.
If you are automating the creation of forks on behalf of a GitHub organization with many users, you may wish to leverage the optional `checkUser`, `promoteUser`, and `licenseAllowlist` params:
> 💡 **Tip:** Please use [node.js](https://nodejs.org/en/download/releases/) v17.x or later, as well as [TypeScript](https://www.npmjs.com/package/typescript) v4.x or later.
@@ -167,7 +181,7 @@ Then run [ncc](https://github.com/zeit/ncc) and push the results:
167
181
npm run package
168
182
git add dist
169
183
git commit -a -m "prod dependencies"
170
-
git push origin releases/v0.0.5
184
+
git push origin releases/v0.0.6
171
185
```
172
186
173
187
> 💡 **Tip:** We recommend using the `--license` option for `ncc`, which will create a license file for all of the production node modules used in your project.
0 commit comments