mirror of https://github.com/dapr/java-sdk.git
Update FOSSA workflow condition to not run on Forks (#706)
* Add workflow and badge Signed-off-by: Shubham Sharma <shubhash@microsoft.com> * Encode space in URL Signed-off-by: Shubham Sharma <shubhash@microsoft.com> * Update FOSSA workflow condition Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
This commit is contained in:
parent
eb215fbb3b
commit
904dbe0b18
|
@ -26,6 +26,7 @@ on:
|
|||
workflow_dispatch: {}
|
||||
jobs:
|
||||
fossa-scan:
|
||||
if: github.repository_owner == 'dapr' # FOSSA is not intended to run on forks.
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
FOSSA_API_KEY: b88e1f4287c3108c8751bf106fb46db6 # This is a push-only token that is safe to be exposed.
|
||||
|
@ -42,4 +43,4 @@ jobs:
|
|||
uses: fossas/fossa-action@main # Use a specific version if locking is preferred
|
||||
with:
|
||||
api-key: ${{ env.FOSSA_API_KEY }}
|
||||
run-tests: true
|
||||
run-tests: true
|
||||
|
|
Loading…
Reference in New Issue