-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automate update to third party notice file (#1508)
- create github action to add commit with updated 3rd party notices if it's not up to date - remove the check from circleci J=SLAP-1505 TEST=auto push a package.json with version different from what's listed in the 3rd party notice file and see that a automated commit is made in this pr
- Loading branch information
Showing
5 changed files
with
352 additions
and
686 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Check Third Party Notices File | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
license-check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 14.x | ||
- run: npm install -g generate-license-file | ||
- uses: actions/checkout@v2 | ||
- run: npm ci | ||
- run: generate-license-file --input package.json --output ./THIRD-PARTY-NOTICES | ||
- name: Update THIRD-PARTY-NOTICES | ||
uses: EndBug/add-and-commit@v7 | ||
with: | ||
message: "Automated update to THIRD-PARTY-NOTICES from github action's 3rd party notices check" | ||
add: 'THIRD-PARTY-NOTICES' | ||
push: true | ||
default_author: github_actions |
Oops, something went wrong.