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
GitHub action to automate fork creation. This action uses [octokit.js](https://github.com/octokit/octokit.js) and the [GitHub API](https://docs.github.com/en/rest) to automatically create a repository fork, either in your personal namespace or an organization you administer.
9
9
@@ -19,7 +19,7 @@ The GitHub API [token](https://docs.github.com/en/github/authenticating-to-githu
19
19
20
20
> 💡 **Note:** Ensure the token you are using has sufficient permissions to fork repositories into your intended destination (either an organization or individual user account). In particular, the builtin `GITHUB_TOKEN` has [read-only permissions](https://docs.github.com/en/actions/reference/authentication-in-a-workflow#permissions-for-the-github_token) for repository forks, and therefore may not provide sufficient privileges for use with `forker`.
21
21
22
-
**Example:**`${{ secrets.GH_API_TOKEN }}`
22
+
**Example:**`${{ secrets.ACCESS_TOKEN }}`
23
23
24
24
### `owner` (string, required)
25
25
@@ -69,25 +69,25 @@ A newline-delimited (`"\n"`) string representing a list of allowed [license keys
69
69
70
70
### Typical
71
71
72
-
In most cases, you'll want to use the latest stable version (eg. `v0.0.1`):
72
+
In most cases, you'll want to use the latest stable version (eg. `v0.0.2`):
If you're actively [developing](#Developing) a new feature for the action, you can always reference a specific commit SHA (eg. `16a9cab520b7f00e68397a7b8a4067ac40353230`):
85
+
If you're actively [developing](#Developing) a new feature for the action, you can always reference a specific commit SHA (eg. `98e4e7dcc6c9a8cb29c1f8de7d6d2c03dcabc4b9`):
@@ -146,7 +146,7 @@ Then run [ncc](https://github.com/zeit/ncc) and push the results:
146
146
npm run package
147
147
git add dist
148
148
git commit -a -m "prod dependencies"
149
-
git push origin releases/v0.0.1
149
+
git push origin releases/v0.0.2
150
150
```
151
151
152
152
> 💡 **Note:** 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.
@@ -163,11 +163,11 @@ You can now validate the action by referencing `./` in a workflow in your repo (
163
163
uses: ./
164
164
with:
165
165
path: ./
166
-
token: ${{ secrets.GH_API_TOKEN }}
166
+
token: ${{ secrets.ACCESS_TOKEN }}
167
167
ref: ${{ github.event.pull_request.head.sha }}
168
168
repo: tremor-runtime
169
169
owner: tremor-rs
170
170
user: lelia
171
171
```
172
172
173
-
See the [Actions tab](https://github.com/lelia/forker/actions) to view runs of this action! ✅
173
+
See the [Actions tab](https://github.com/wayfair-incubator/forker/actions) to view runs of this action! ✅
0 commit comments