From df39a779dd343751c3aa845c9eac8e3dfdbe1abc Mon Sep 17 00:00:00 2001 From: Ihor Dvoretskyi Date: Tue, 20 Apr 2021 18:35:04 +0300 Subject: [PATCH] FOSSA scan enabled Signed-off-by: Ihor Dvoretskyi --- .github/workflows/fossa.yml | 18 ++++++++++++++++++ README.md | 1 + 2 files changed, 19 insertions(+) create mode 100644 .github/workflows/fossa.yml diff --git a/.github/workflows/fossa.yml b/.github/workflows/fossa.yml new file mode 100644 index 000000000..acf6c9624 --- /dev/null +++ b/.github/workflows/fossa.yml @@ -0,0 +1,18 @@ +name: FOSSA License Scanning + +on: + - pull_request + - push + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Run FOSSA scan and upload build data + uses: fossa-contrib/fossa-action@v1 + with: + fossa-api-key: cac3dc8d4f2ba86142f6c0f2199a160f diff --git a/README.md b/README.md index fafd5bdb1..0c7933fc5 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ Project, and VMware Harbor Registry. [![GoDoc](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go&logoColor=white&style=flat-square)](https://pkg.go.dev/github.com/distribution/distribution) [![License: Apache-2.0](https://img.shields.io/badge/License-Apache--2.0-blue.svg)](LICENSE) [![codecov](https://codecov.io/gh/distribution/distribution/branch/main/graph/badge.svg)](https://codecov.io/gh/distribution/distribution) +[![FOSSA Status](https://app.fossa.com/api/projects/custom%2B162%2Fgithub.com%2Fdistribution%2Fdistribution.svg?type=shield)](https://app.fossa.com/projects/custom%2B162%2Fgithub.com%2Fdistribution%2Fdistribution?ref=badge_shield) This repository contains the following components: