-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fossa: Run separately, only on push (#58)
FOSSA analysis currently blocks CI on pull requests because they are denied access to secrets. Run FOSSA as a separate job only when we push to a branch of the project.
- Loading branch information
Showing
2 changed files
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: FOSSA Analysis | ||
on: push | ||
|
||
jobs: | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
if: github.repository_owner == 'uber-go' | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: FOSSA analysis | ||
uses: fossas/fossa-action@v1 | ||
with: | ||
api-key: ${{ secrets.FOSSA_API_KEY }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters