Skip to content

Commit 98b9779

Browse files
committed
Run FOSSA scan
1 parent c6d7aa5 commit 98b9779

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

.github/repository-settings.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ settings](https://github.com/open-telemetry/community/blob/main/docs/how-to-conf
112112

113113
### Repository secrets
114114

115+
- `FOSSA_API_KEY` - stored in OpenTelemetry-Java 1Password
115116
- `GPG_PASSWORD` - stored in OpenTelemetry-Java 1Password
116117
- `GPG_PRIVATE_KEY` - stored in OpenTelemetry-Java 1Password
117118
- `GRADLE_PUBLISH_KEY`

.github/workflows/fossa.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: FOSSA
2+
3+
# Ensures that this is only run once, either when pushing
4+
# directly to main OR when pushing to a PR against main.
5+
on:
6+
pull_request:
7+
branches:
8+
- main
9+
push:
10+
branches:
11+
- main
12+
13+
permissions:
14+
contents: read
15+
16+
jobs:
17+
fossa:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21+
22+
- uses: fossas/fossa-action@93a52ecf7c3ac7eb40f5de77fd69b1a19524de94 # v1.5.0
23+
with:
24+
api-key: ${{secrets.FOSSA_API_KEY}}

0 commit comments

Comments
 (0)