Skip to content

Commit 01a5f2d

Browse files
authored
Merge pull request #123 from lelia/releases/v0.0.4
Releases/v0.0.4
2 parents 188f5e5 + ca413b3 commit 01a5f2d

File tree

5 files changed

+18
-7
lines changed

5 files changed

+18
-7
lines changed

CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ All notable changes to `Forker` will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.0.4] - 2022-03-23
9+
10+
### Added
11+
12+
- Numerous Dependabot dependency vulnerabilities and recommended upgrades
13+
14+
### Fixed
15+
16+
- Bug with license compliance check failing when the license format is invalid
17+
- Edge case where Github were invited when no organization was specified
18+
819
## [0.0.3] - 2022-01-11
920

1021
### Added

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ A newline-delimited (`"\n"`) string representing a list of allowed [license keys
7070

7171
### Typical
7272

73-
In most cases, you'll want to use the latest stable version (eg. `v0.0.3`):
73+
In most cases, you'll want to use the latest stable version (eg. `v0.0.4`):
7474

7575
```yaml
76-
uses: wayfair-incubator/[email protected].3
76+
uses: wayfair-incubator/[email protected].4
7777
with:
7878
token: ${{ secrets.ACCESS_TOKEN }}
7979
repo: tremor-runtime
@@ -99,7 +99,7 @@ with:
9999
If you are automating forking on behalf of a GitHub organization, you may wish to leverage the optional `addUser` and `licenseAllowlist` params:
100100

101101
```yaml
102-
uses: wayfair-incubator/[email protected].3
102+
uses: wayfair-incubator/[email protected].4
103103
with:
104104
token: ${{ secrets.ACCESS_TOKEN }}
105105
repo: tremor-runtime
@@ -147,7 +147,7 @@ Then run [ncc](https://github.com/zeit/ncc) and push the results:
147147
npm run package
148148
git add dist
149149
git commit -a -m "prod dependencies"
150-
git push origin releases/v0.0.3
150+
git push origin releases/v0.0.4
151151
```
152152

153153
> 💡 **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.

dist/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export async function run(): Promise<void> {
3636
await forkRepo(owner, repo, org)
3737

3838
// Optionally check org membership status for a specified user, and invite if missing
39-
if (addUser && typeof user !== 'undefined') {
39+
if (addUser && org && typeof user !== 'undefined') {
4040
core.info(
4141
`🔍 Checking membership status of user ${user} in ${org} organization...`
4242
)

0 commit comments

Comments
 (0)