Skip to content

Commit

Permalink
only run FOSSA on master
Browse files Browse the repository at this point in the history
  • Loading branch information
rogchap committed Apr 9, 2021
1 parent 78eaa3d commit 6341a3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
- name: Add GOPATH to GITHUB_ENV
run: echo "GOPATH=$(go env GOPATH)" >>"$GITHUB_ENV"
- name: Scan and upload FOSSA data
if: github.ref == 'refs/heads/master'
run: |
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | sudo bash
fossa analyze
Expand Down

0 comments on commit 6341a3b

Please sign in to comment.