-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Taras Drozdovskyi <t.drozdovsky@samsung.com>
- Loading branch information
1 parent
564afba
commit bff03c1
Showing
7 changed files
with
55 additions
and
10 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Check diff for license with Fossology | ||
|
||
on: [push, pull_request] | ||
|
||
|
||
jobs: | ||
check-license: | ||
name: Check license | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: | | ||
docker run --rm --name "fossologyscanner" -w "/opt/repo" -v ${PWD}:/opt/repo \ | ||
-e GITHUB_TOKEN=${{ github.token }} \ | ||
-e GITHUB_PULL_REQUEST=${{ github.event.number }} \ | ||
-e GITHUB_REPOSITORY=${{ github.repository }} \ | ||
-e GITHUB_REPO_URL=${{ github.repositoryUrl }} \ | ||
-e GITHUB_REPO_OWNER=${{ github.repository_owner }} \ | ||
-e GITHUB_API=${{ github.api_url }} \ | ||
-e GITHUB_ACTIONS \ | ||
fossology/fossology:scanner "/bin/fossologyscanner" nomos ojo | ||
check-copyright: | ||
name: Check copyright | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: | | ||
docker run --rm --name "fossologyscanner" -w "/opt/repo" -v ${PWD}:/opt/repo \ | ||
-e GITHUB_TOKEN=${{ github.token }} \ | ||
-e GITHUB_PULL_REQUEST=${{ github.event.number }} \ | ||
-e GITHUB_REPOSITORY=${{ github.repository }} \ | ||
-e GITHUB_API=${{ github.api_url }} \ | ||
-e GITHUB_REPO_URL=${{ github.repositoryUrl }} \ | ||
-e GITHUB_REPO_OWNER=${{ github.repository_owner }} \ | ||
-e GITHUB_ACTIONS \ | ||
fossology/fossology:scanner "/bin/fossologyscanner" copyright keyword |
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
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
File renamed without changes.