From 94d04da8ef5bb711ad59de3483149fecac051963 Mon Sep 17 00:00:00 2001 From: Abhinandan Purkait Date: Tue, 5 Nov 2024 06:36:47 +0000 Subject: [PATCH] ci: add Fossa CLI workflow Signed-off-by: Abhinandan Purkait --- .github/workflows/fossa.yml | 17 +++++++++++++++++ README.md | 8 ++++---- 2 files changed, 21 insertions(+), 4 deletions(-) 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..84e5792b7 --- /dev/null +++ b/.github/workflows/fossa.yml @@ -0,0 +1,17 @@ +name: Fossa CLI +on: + push: + branches: + - 'develop' + - 'release/**' + +jobs: + fossa-scan: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + - uses: fossas/fossa-action@v1.4.0 + with: + api-key: ${{ secrets.FOSSA_API_KEY }} diff --git a/README.md b/README.md index 0ddcf2b44..27493845c 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ ## OpenEBS - LocalPV-ZFS CSI Driver [![Build Status](https://github.com/openebs/zfs-localpv/actions/workflows/build.yml/badge.svg)](https://github.com/openebs/zfs-localpv/actions/workflows/build.yml) -[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fopenebs%2Fzfs-localpv.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fopenebs%2Fzfs-localpv?ref=badge_shield) -[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/3523/badge)](https://bestpractices.coreinfrastructure.org/en/projects/3523) -[![Slack](https://img.shields.io/badge/chat!!!-slack-ff1493.svg?style=flat-square)](https://kubernetes.slack.com/messages/openebs/) +[![FOSSA Status](https://app.fossa.com/api/projects/custom%2B162%2Fgithub.com%2Fopenebs%2Fzfs-localpv.svg?type=shield&issueType=license)](https://app.fossa.com/projects/custom%2B162%2Fgithub.com%2Fopenebs%2Fzfs-localpv?ref=badge_shield&issueType=license) +[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/3523/badge)](https://www.bestpractices.dev/projects/3523) +[![Slack](https://img.shields.io/badge/chat-slack-ff1493.svg?style=flat-square)](https://kubernetes.slack.com/messages/openebs/) [![Community Meetings](https://img.shields.io/badge/Community-Meetings-blue)](https://hackmd.io/yJb407JWRyiwLU-XDndOLA?view) [![Go Report](https://goreportcard.com/badge/github.com/openebs/zfs-localpv)](https://goreportcard.com/report/github.com/openebs/zfs-localpv) @@ -431,4 +431,4 @@ persistentvolumeclaim "csi-zfspv" deleted - [ ] Ephemeral inline volume ## License compliance -[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fopenebs%2Fzfs-localpv.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fopenebs%2Fzfs-localpv?ref=badge_large) +[![FOSSA Status](https://app.fossa.com/api/projects/custom%2B162%2Fgithub.com%2Fopenebs%2Fzfs-localpv.svg?type=large&issueType=license)](https://app.fossa.com/projects/custom%2B162%2Fgithub.com%2Fopenebs%2Fzfs-localpv?ref=badge_large&issueType=license)