Skip to content

Commit

Permalink
Merge pull request #123 from lelia/releases/v0.0.4
Browse files Browse the repository at this point in the history
Releases/v0.0.4
  • Loading branch information
lelia authored Mar 29, 2022
2 parents 188f5e5 + ca413b3 commit 01a5f2d
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 7 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ All notable changes to `Forker` will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.0.4] - 2022-03-23

### Added

- Numerous Dependabot dependency vulnerabilities and recommended upgrades

### Fixed

- Bug with license compliance check failing when the license format is invalid
- Edge case where Github were invited when no organization was specified

## [0.0.3] - 2022-01-11

### Added
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ A newline-delimited (`"\n"`) string representing a list of allowed [license keys

### Typical

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

```yaml
uses: wayfair-incubator/forker@v0.0.3
uses: wayfair-incubator/forker@v0.0.4
with:
token: ${{ secrets.ACCESS_TOKEN }}
repo: tremor-runtime
Expand All @@ -99,7 +99,7 @@ with:
If you are automating forking on behalf of a GitHub organization, you may wish to leverage the optional `addUser` and `licenseAllowlist` params:

```yaml
uses: wayfair-incubator/forker@v0.0.3
uses: wayfair-incubator/forker@v0.0.4
with:
token: ${{ secrets.ACCESS_TOKEN }}
repo: tremor-runtime
Expand Down Expand Up @@ -147,7 +147,7 @@ Then run [ncc](https://github.com/zeit/ncc) and push the results:
npm run package
git add dist
git commit -a -m "prod dependencies"
git push origin releases/v0.0.3
git push origin releases/v0.0.4
```

> 💡 **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.
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export async function run(): Promise<void> {
await forkRepo(owner, repo, org)

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

0 comments on commit 01a5f2d

Please sign in to comment.