Skip to content

Commit ed636ec

Browse files
committed
Changes based on the review comments
Signed-off-by: Amulya Varote <[email protected]>
1 parent f42aa54 commit ed636ec

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/fossa.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,27 @@ on:
66
branches:
77
- master
88
- release-*
9-
- feature/*
109
tags:
1110
- v*
1211
pull_request:
1312
branches:
1413
- master
1514
- release-*
16-
- feature/*
1715
workflow_dispatch: {}
1816
jobs:
1917
fossa-scan:
18+
if: github.repository_owner == 'dapr' # FOSSA is not intended to run on forks.
2019
runs-on: ubuntu-latest
2120
env:
22-
FOSSA_API_KEY: b88e1f4287c3108c8751bf106fb46db6
21+
FOSSA_API_KEY: b88e1f4287c3108c8751bf106fb46db6 # This is a PUSH ONLY token that is safe to be shared with the public
2322
steps:
2423
- name: "Checkout code"
2524
uses: actions/checkout@v3
2625

2726
- name: "Run FOSSA Scan"
2827
uses: fossas/fossa-action@main # Use a specific version if locking is preferred
2928
with:
30-
api-key: ${{ env.FOSSA_API_KEY }} # This is a PUSH ONLY token that is safe to be shared with the public
29+
api-key: ${{ env.FOSSA_API_KEY }}
3130

3231
- name: "Run FOSSA Test"
3332
uses: fossas/fossa-action@main # Use a specific version if locking is preferred

0 commit comments

Comments
 (0)