Skip to content

Commit 86f7454

Browse files
ci: add Enforce License Compliance workflow
1 parent c96f096 commit 86f7454

3 files changed

Lines changed: 27 additions & 0 deletions

File tree

.fossa.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 3
2+
3+
# FOSSA CLI for getsentry/action-enforce-license-compliance.
4+
# https://github.com/fossas/fossa-cli/blob/master/docs/references/files/fossa-yml.md
5+
6+
project:
7+
id: github.com/codecov/python-testing
8+
url: https://github.com/codecov/python-testing
9+
10+
telemetry:
11+
scope: "off"
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Enforce License Compliance
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened, ready_for_review]
6+
workflow_dispatch:
7+
8+
jobs:
9+
enforce-license-compliance:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: 'Enforce License Compliance'
13+
uses: getsentry/action-enforce-license-compliance@57ba820387a1a9315a46115ee276b2968da51f3d # main
14+
with:
15+
fossa_api_key: ${{ secrets.FOSSA_API_KEY }}

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# FOSSA: setuptools discovery target at repo root (add real deps here if applicable).

0 commit comments

Comments
 (0)