-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH workflows: linting, 3rd party license, and doc check (#29)
- Added workflow for: lint check, 3rd party license update and doc update. - Added `BOT_REPO_SCOPED_TOKEN` repo secret for the bot to properly detect changes and auto-commit to repo as part of the GH workflows. Downgraded generate-license-file from v2 to v1 to match the version in shared workflow (output format is slightly different). I tried to migrate the workflow to latest (v3) but noticed a bug so I submitted an issue report in their repo: TobyAndToby/generate-license-file#250. Once that is done, the workflow version and the local devDep version of generate-license-file can be updated J=CLIP-100 TEST=auto see that the workflows ran as expected as checks under this PR
- Loading branch information
Showing
13 changed files
with
302 additions
and
191 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: Run Linter | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
linting: | ||
uses: yext/slapshot-reusable-workflows/.github/workflows/run-linting.yml@v1 |
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,9 @@ | ||
name: Check and Update Repo's documenation | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
call_update_docs: | ||
uses: yext/slapshot-reusable-workflows/.github/workflows/update_docs.yml@v1 | ||
secrets: | ||
REPO_SCOPED_TOKEN: ${{ secrets.BOT_REPO_SCOPED_TOKEN }} |
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,9 @@ | ||
name: Check and Update Third Party Notices | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
call_notices_check: | ||
uses: yext/slapshot-reusable-workflows/.github/workflows/third_party_notices_check.yml@v1 | ||
secrets: | ||
REPO_SCOPED_TOKEN: ${{ secrets.BOT_REPO_SCOPED_TOKEN }} |
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 |
---|---|---|
@@ -1,7 +1,4 @@ | ||
This file was generated with the generate-license-file npm package! | ||
https://www.npmjs.com/package/generate-license-file | ||
|
||
The following npm package may be included in this product: | ||
The following NPM package may be included in this product: | ||
|
||
- [email protected] | ||
|
||
|
@@ -31,7 +28,7 @@ SOFTWARE. | |
|
||
----------- | ||
|
||
The following npm package may be included in this product: | ||
The following NPM package may be included in this product: | ||
|
||
- [email protected] | ||
|
||
|
@@ -61,7 +58,7 @@ SOFTWARE. | |
|
||
----------- | ||
|
||
The following npm package may be included in this product: | ||
The following NPM package may be included in this product: | ||
|
||
- [email protected] | ||
|
||
|
@@ -71,7 +68,7 @@ This package contains the following license and notice below: | |
|
||
----------- | ||
|
||
The following npm package may be included in this product: | ||
The following NPM package may be included in this product: | ||
|
||
- [email protected] | ||
|
||
|
@@ -92,7 +89,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND | |
|
||
----------- | ||
|
||
The following npm package may be included in this product: | ||
The following NPM package may be included in this product: | ||
|
||
- [email protected] | ||
|
||
|
@@ -122,5 +119,4 @@ THE SOFTWARE. | |
|
||
----------- | ||
|
||
This file was generated with the generate-license-file npm package! | ||
https://www.npmjs.com/package/generate-license-file | ||
This file was generated with generate-license-file! https://www.npmjs.com/package/generate-license-file |
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 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
Oops, something went wrong.