GitLab: Additional places to encode, handle first commit and empty ta… #78
Workflow file for this run
This file contains hidden or 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: REUSE Compliance Check | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| reuse-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: REUSE Compliance Check | |
| uses: fsfe/reuse-action@v5 | |
| - name: REUSE SPDX SBOM | |
| uses: fsfe/reuse-action@v5 | |
| with: | |
| args: spdx -o sbom.spdx | |
| - name: Upload spdx | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: spdx-sbom | |
| path: sbom.spdx | |
| if-no-files-found: error |