From 18aca5f60b9ee005f269d7f749f5b31c2270cf0d Mon Sep 17 00:00:00 2001 From: Vaughn Dice Date: Thu, 15 May 2025 12:42:53 -0600 Subject: [PATCH 1/2] ci(.github): add fossa.yml Signed-off-by: Vaughn Dice Co-authored-by: Kate Goldenring --- .github/workflows/fossa.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/fossa.yml diff --git a/.github/workflows/fossa.yml b/.github/workflows/fossa.yml new file mode 100644 index 000000000..9ba6047eb --- /dev/null +++ b/.github/workflows/fossa.yml @@ -0,0 +1,29 @@ +name: fossa +on: + push: + branches: + - main + tags: + - v* + pull_request: + branches: + - main + workflow_dispatch: {} + +permissions: {} + +jobs: + fossa-scan: + if: github.repository_owner == 'spinframework' # FOSSA is not intended to run on forks. + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - name: "Checkout code" + uses: actions/checkout@v4 + + - name: "Run FOSSA Scan" + uses: fossas/fossa-action@v1.7.0 # Use a specific version if locking is preferred + with: + api-key: ${{ secrets.FOSSA_API_KEY }} + run-tests: true From 22ce41dade4d7b8533baa93866db361720e5858c Mon Sep 17 00:00:00 2001 From: Vaughn Dice Date: Thu, 15 May 2025 12:54:19 -0600 Subject: [PATCH 2/2] Update .github/workflows/fossa.yml Co-authored-by: Lann Signed-off-by: Vaughn Dice --- .github/workflows/fossa.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/fossa.yml b/.github/workflows/fossa.yml index 9ba6047eb..f51e3c172 100644 --- a/.github/workflows/fossa.yml +++ b/.github/workflows/fossa.yml @@ -3,7 +3,6 @@ on: push: branches: - main - tags: - v* pull_request: branches: