mirror of
https://github.com/getsops/sops.git
synced 2026-02-05 12:45:21 +01:00
ci: add FOSSA license scan workflow
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
This commit is contained in:
23
.github/workflows/fossa.yml
vendored
Normal file
23
.github/workflows/fossa.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
name: FOSSA License Scan
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
permissions:
|
||||
contents: read # for actions/checkout to fetch code
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
|
||||
|
||||
- name: Run FOSSA scan and upload build data
|
||||
uses: fossa-contrib/fossa-action@6728dc6fe9a068c648d080c33829ffbe56565023 # v2.0.0
|
||||
with:
|
||||
# FOSSA Push-Only API Token
|
||||
fossa-api-key: 8135a2e556de91096707c7b37504b353
|
||||
github-token: ${{ github.token }}
|
||||
Reference in New Issue
Block a user