diff --git a/.github/workflows/license-check.yaml b/.github/workflows/license-check.yaml new file mode 100644 index 0000000000..a987d34135 --- /dev/null +++ b/.github/workflows/license-check.yaml @@ -0,0 +1,24 @@ +# SPDX-FileCopyrightText: the secureCodeBox authors +# +# SPDX-License-Identifier: Apache-2.0 + +name: Check License Compliance +on: + push: + branches: + - main + - v[0-9]+.x + pull_request: + +jobs: + license-check: + runs-on: ubuntu-22.04 + if: github.repository == 'secureCodeBox/secureCodeBox' + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: REUSE Compliance Check + uses: fsfe/reuse-action@v2 + with: + args: --include-submodules lint