Skip to content

Commit 7929d88

Browse files
authored
Merge pull request #130 from netlify/fix-fossa
fix: add fossa config
2 parents de6102d + 601a7cf commit 7929d88

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/fossa.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,19 @@ jobs:
2424
- name: Configuration
2525
run: |-
2626
sed -i "${line_number}s|.*| project: [email protected]:${GITHUB_REPOSITORY}.git|" .fossa.yml
27+
sed -i '$d' .fossa.yml
28+
echo -e "analyze:\n modules:\n - name: discovery\n type: go\n target: github.com/netlify/netlify-commons/discovery\n path: ./discovery" >> .fossa.yml
29+
echo -e " - name: graceful\n type: go\n target: github.com/netlify/netlify-commons/graceful\n path: ./graceful" >> .fossa.yml
30+
echo -e " - name: http\n type: go\n target: github.com/netlify/netlify-commons/http\n path: ./http" >> .fossa.yml
31+
echo -e " - name: messaging\n type: go\n target: github.com/netlify/netlify-commons/messaging\n path: ./messaging" >> .fossa.yml
32+
echo -e " - name: metriks\n type: go\n target: github.com/netlify/netlify-commons/metriks\n path: ./metriks" >> .fossa.yml
33+
echo -e " - name: mongo\n type: go\n target: github.com/netlify/netlify-commons/mongo\n path: ./mongo" >> .fossa.yml
34+
echo -e " - name: nconf\n type: go\n target: github.com/netlify/netlify-commons/nconf\n path: ./nconf" >> .fossa.yml
35+
echo -e " - name: ntoml\n type: go\n target: github.com/netlify/netlify-commons/ntoml\n path: ./ntoml" >> .fossa.yml
36+
echo -e " - name: router\n type: go\n target: github.com/netlify/netlify-commons/router\n path: ./router" >> .fossa.yml
37+
echo -e " - name: server\n type: go\n target: github.com/netlify/netlify-commons/server\n path: ./server" >> .fossa.yml
38+
echo -e " - name: tracing\n type: go\n target: github.com/netlify/netlify-commons/tracing\n path: ./tracing" >> .fossa.yml
39+
echo -e " - name: util\n type: go\n target: github.com/netlify/netlify-commons/util\n path: ./util" >> .fossa.yml
2740
cat .fossa.yml
2841
- name: Upload dependencies
2942
run: fossa analyze --debug

0 commit comments

Comments
 (0)