Commit b67f41e
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.
The job runs on the infra1-runners-arc / runners-small ARC group used by
the rest of the repo's workflows (pre-merge, staging-tests, etc.) — the
runners are accessible from this public repo even though the reusable
fossa workflow at gooddata/github-actions isn't, hence this self-contained
copy. Permissions are read-only. Actions are pinned by version tag
(actions/checkout@v6, fossas/fossa-action@v1.9.0) to match the repo
convention.
The .fossa.yml is scoped via paths.only to the seven published gooddata-*
workspace packages plus 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.
The branch input defaults to master so dispatches without an explicit
override attach the scan to the master branch in the FOSSA dashboard.
JIRA: TRIVIAL
risk: nonprod1 parent 88138a3 commit b67f41e
2 files changed
Lines changed: 64 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 | + | |
| 49 | + | |
| 50 | + | |
0 commit comments