From 77ecc8f9b4c43a3e8cf822fc025e55f7b1f6fb05 Mon Sep 17 00:00:00 2001 From: Minh Nguyen Cong Date: Tue, 16 Jun 2026 12:28:42 +0200 Subject: [PATCH] ci: add FOSSA license and dependency scan Co-Authored-By: Claude Opus 4.6 --- .github/workflows/fossa.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 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 00000000..808054a9 --- /dev/null +++ b/.github/workflows/fossa.yml @@ -0,0 +1,22 @@ +name: FOSSA Scan + +on: + push: + branches: [main] + pull_request: + branches: [main] + +permissions: + contents: read + +jobs: + fossa: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - uses: fossas/fossa-action@main + with: + api-key: ${{ secrets.FOSSA_API_KEY }} + branch: ${{ github.head_ref || github.ref_name }}