From ad62dff206f9c9a4f86a1408bbc59c26029f8731 Mon Sep 17 00:00:00 2001 From: KeHaoKH Date: Tue, 28 Jun 2022 00:59:51 +0800 Subject: [PATCH] ci: license scanning for cncf compliance Signed-off-by: KeHaoKH --- .github/workflows/license-scan.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/license-scan.yml diff --git a/.github/workflows/license-scan.yml b/.github/workflows/license-scan.yml new file mode 100644 index 000000000..e337e3034 --- /dev/null +++ b/.github/workflows/license-scan.yml @@ -0,0 +1,14 @@ +name: license check by FOSS +on: [pull_request] + +jobs: + fossa: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - uses: fossa-contrib/fossa-action@v1 + with: + # https://docs.fossa.com/docs/api-reference#push-only-api-token + fossa-api-key: c03fe407c7aa56b90b7dac1ae1868dd0