Skip to content

Commit f5862c3

Browse files
authored
fossa: update the check to skip running in forks (#486)
This is a check that was done in many repos with "github.repository == 'open-telemetry/opentelemetry.io'", using the fork value is more a more generic way to achieve the same Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
1 parent 6853b0a commit f5862c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/fossa.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ permissions: {}
1515
jobs:
1616
fossa:
1717
name: FOSSA scanning
18-
if: github.repository_owner == 'open-telemetry'
18+
if: ${{ github.repository_owner == 'open-telemetry' && github.event.repository.fork == false }}
1919
runs-on: ubuntu-slim
2020
permissions:
2121
contents: read # for actions/checkout

0 commit comments

Comments
 (0)