mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
FOSSA scanning added (#1407)
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
parent
c77944ddef
commit
ee31fabcbc
1 changed files with 27 additions and 0 deletions
27
.github/workflows/fossa.yml
vendored
Normal file
27
.github/workflows/fossa.yml
vendored
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
name: FOSSA
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [master]
|
||||||
|
pull_request:
|
||||||
|
branches: [master]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-go@v2
|
||||||
|
with:
|
||||||
|
go-version: "^1.14.x"
|
||||||
|
- run: go version
|
||||||
|
# Runs a set of commands to initialize and analyze with FOSSA
|
||||||
|
- name: run FOSSA analysis
|
||||||
|
env:
|
||||||
|
# FOSSA Push-Only API Token
|
||||||
|
FOSSA_API_KEY: '760a966bd1687152ecfe23386d841df4'
|
||||||
|
run: |
|
||||||
|
export GOPATH=$HOME/go
|
||||||
|
export PATH=$PATH:$(go env GOPATH)/bin
|
||||||
|
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | bash
|
||||||
|
fossa init
|
||||||
|
fossa analyze
|
Loading…
Add table
Reference in a new issue