File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,12 +7,17 @@ project:
77telemetry :
88 scope : ' off'
99
10- # We need to specify it per-each package. See fossa_* branches.
11- # targets:
12- # only:
13- # - type: pipenv
14- # path: path-here
15- #
16- # paths:
17- # only:
18- # - path-here
10+ # Scope the scan to the published gooddata-* workspace packages + the
11+ # generated gooddata-api-client. Each pyproject.toml is scanned independently
12+ # (FOSSA's pdm strategy reports declared deps); the gooddata-api-client setup.py
13+ # is read by setuptools. Internal helpers (tests-support, scripts) are excluded.
14+ paths :
15+ only :
16+ - packages/gooddata-sdk
17+ - packages/gooddata-pandas
18+ - packages/gooddata-dbt
19+ - packages/gooddata-fdw
20+ - packages/gooddata-flight-server
21+ - packages/gooddata-flexconnect
22+ - packages/gooddata-pipelines
23+ - gooddata-api-client
Original file line number Diff line number Diff line change 1+ # (C) 2026 GoodData Corporation
2+ name : FOSSA scan
3+
4+ on :
5+ workflow_dispatch :
6+ inputs :
7+ branch :
8+ description : Branch label to attach to the FOSSA scan.
9+ required : false
10+ default : master
11+
12+ concurrency :
13+ group : fossa-${{ github.workflow }}-${{ github.ref }}
14+ cancel-in-progress : true
15+
16+ jobs :
17+ fossa :
18+ name : FOSSA scan
19+ runs-on :
20+ group : infra1-runners-arc
21+ labels : runners-small
22+ permissions :
23+ contents : read
24+ steps :
25+ - name : Checkout the code
26+ uses : actions/checkout@v6
27+ with :
28+ fetch-depth : 0
29+
30+ - name : Check that .fossa.yml exists
31+ shell : bash
32+ run : |
33+ [ -f ./.fossa.yml ] || { echo "Missing .fossa.yml in repo root; FOSSA needs it for project id." >&2; exit 1; }
34+
35+ - name : Workaround for "no targets found" error
36+ shell : bash
37+ run : |
38+ [ -f ./requirements.txt ] || touch ./requirements.txt
39+
40+ - name : Run FOSSA analyze
41+ uses : fossas/fossa-action@v1.9.0
42+ with :
43+ api-key : ${{ secrets.FOSSA_API_KEY }}
44+ branch : ${{ inputs.branch }}
45+
46+ - name : Run FOSSA test (policy gate)
47+ uses : fossas/fossa-action@v1.9.0
48+ with :
49+ api-key : ${{ secrets.FOSSA_API_KEY }}
50+ run-tests : true
You can’t perform that action at this time.
0 commit comments