Skip to content

Commit d5c7522

Browse files
authored
use push-only token (#730)
1 parent f5b6a10 commit d5c7522

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/pr-license-scan.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@ on:
66
jobs:
77
fossa-scan:
88
runs-on: ubuntu-latest
9-
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
109
steps:
1110
- uses: actions/checkout@v3
1211
- name: "Run FOSSA Analyze"
1312
uses: fossas/fossa-action@main
1413
with:
15-
api-key: ${{ secrets.FOSSA_API_KEY }}
14+
api-key: cf2d0196f5b5bb2fd245c559af8766d8 # push-only token, safe to expose
1615
- name: "Run FOSSA Test"
1716
uses: fossas/fossa-action@main
1817
with:
19-
api-key: ${{ secrets.FOSSA_API_KEY }}
18+
api-key: cf2d0196f5b5bb2fd245c559af8766d8 # push-only token, safe to expose
2019
run-tests: true

0 commit comments

Comments
 (0)