Skip to content

Commit fb89b7a

Browse files
[Infra] Skip FOSSA scan on forks (#6597)
Co-authored-by: Rajkumar Rangaraj <[email protected]>
1 parent 640cf63 commit fb89b7a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/fossa.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ permissions:
1111
jobs:
1212
fossa:
1313
runs-on: ubuntu-latest
14+
if: github.event.repository.fork == false
1415
steps:
1516
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1617

1718
- uses: fossas/fossa-action@3ebcea1862c6ffbd5cf1b4d0bd6b3fe7bd6f2cac # v1.7.0
1819
with:
19-
api-key: ${{secrets.FOSSA_API_KEY}}
20+
api-key: ${{ secrets.FOSSA_API_KEY }}
2021
team: OpenTelemetry

0 commit comments

Comments
 (0)