diff options
author | 2021-05-25 15:06:19 -0700 | |
---|---|---|
committer | 2021-05-25 15:06:19 -0700 | |
commit | 0dc3bc6ed12495cddfdaacd9fbeecd9d2fa0791b (patch) | |
tree | a9ede57902dd759d33a1ac05f614ed1a3aef7857 /.github | |
parent | 534a46db746fd42af3b62ec1a039c04c6f7bee65 (diff) | |
parent | 948c76b6a5fd3c72c32a8e4e243e4836335d4743 (diff) | |
download | sally-0dc3bc6ed12495cddfdaacd9fbeecd9d2fa0791b.tar.gz sally-0dc3bc6ed12495cddfdaacd9fbeecd9d2fa0791b.tar.zst sally-0dc3bc6ed12495cddfdaacd9fbeecd9d2fa0791b.zip |
Merge pull request #48 from uber-go/fossa
fossa: Run separately, only on push
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/fossa.yaml | 17 | ||||
-rw-r--r-- | .github/workflows/go.yml | 5 |
2 files changed, 17 insertions, 5 deletions
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 }} + diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 814b126..098a907 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -27,11 +27,6 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - - name: FOSSA analysis - uses: fossas/fossa-action@v1 - with: - api-key: ${{ secrets.FOSSA_API_KEY }} - - name: Load cached dependencies uses: actions/cache@v1 with: |