Bump softprops/action-gh-release from 0.1.14 to 0.1.15 #262
Workflow file for this run
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
name: Fossology check | |
on: [pull_request, push] | |
permissions: | |
contents: read | |
jobs: | |
check-license: | |
name: Check license, copyright, keyword | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- 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=true \ | |
fossology/fossology:scanner "/bin/fossologyscanner" --report TEXT repo nomos ojo copyright keyword | |
# Upload artifact | |
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 | |
with: | |
name: scan-fossology-report | |
path: ./results | |
# Artifact download | |
- uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe | |
with: | |
name: scan-fossology-report |