From 948c76b6a5fd3c72c32a8e4e243e4836335d4743 Mon Sep 17 00:00:00 2001 From: Abhinav Gupta Date: Tue, 25 May 2021 14:45:43 -0700 Subject: fossa: Run separately, only on push 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. --- .github/workflows/fossa.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/fossa.yaml (limited to '.github/workflows/fossa.yaml') diff --git a/.github/workflows/fossa.yaml b/.github/workflows/fossa.yaml new file mode 100644 index 0000000..86e6db7 --- /dev/null +++ b/.github/workflows/fossa.yaml @@ -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 }} + -- cgit v1.2.3