Commit e3524c5
committed
ci: add FOSSA license scan workflow
Adds a self-contained workflow_dispatch GitHub Actions workflow that runs
FOSSA analyze + test against the repo, replacing the manual Jenkins-based
scan. Token comes from the FOSSA_API_KEY org secret; the repo still needs
to be added to that secret's repos allowlist in terraform-github (separate
PR by infra) before the first dispatch will authenticate.
Both fossas/fossa-action@v1.9.0 and actions/checkout@v6.0.2 are pinned by
full commit SHA per public-repo best practice. The job has read-only
permissions and uses ubuntu-latest (no internal runner / Vault dependency,
unlike the gooddata/github-actions reference workflow).
The .fossa.yml is scoped via paths.only to the seven published
gooddata-* workspace packages and the generated gooddata-api-client.
Phase 0 local verification with fossa-cli 3.17.5 confirmed all declared
deps across these targets are picked up (pdm strategy for each
pyproject.toml, setuptools for gooddata-api-client). tests-support
and scripts/ are intentionally excluded as internal helpers.
Note: this whitelist limits scanning to declared deps only — no
transitive resolution. Switching to a root uv.lock scan would broaden
coverage but also pull in dev/test/lint tooling; tighten or broaden in
a follow-up if the FOSSA dashboard view warrants it.
JIRA: TRIVIAL
risk: nonprod1 parent 88138a3 commit e3524c5
2 files changed
Lines changed: 62 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
0 commit comments