diff --git a/.github/workflows/license-scan.yaml b/.github/workflows/license-scan.yaml new file mode 100644 index 00000000..51793e7e --- /dev/null +++ b/.github/workflows/license-scan.yaml @@ -0,0 +1,29 @@ +--- +name: License Scan + +on: + push: + branches: + - 'main' + pull_request: + branches: + - '*' + +jobs: + fossa-scan: + name: Find license compliance and security issues + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: fossas/fossa-action@v1.4.0 + name: License Scan + with: + api-key: ${{secrets.FOSSA_API_TOKEN}} + branch: ${{ github.head_ref || github.ref_name }} + project: git+github.com/Kuadrant/wasm-shim + - uses: fossas/fossa-action@v1.4.0 + name: License test for issues + with: + api-key: ${{secrets.FOSSA_API_TOKEN}} + run-tests: true + project: git+github.com/Kuadrant/wasm-shim diff --git a/README.md b/README.md index 975ce20b..46587c3a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # Wasm-shim +[![Rust](https://github.com/Kuadrant/wasm-shim/actions/workflows/rust.yaml/badge.svg)](https://github.com/Kuadrant/wasm-shim/actions/workflows/rust.yaml) [![FOSSA Status](https://app.fossa.com/api/projects/custom%2B162%2Fgit%2Bgithub.com%2FKuadrant%2Fwasm-shim.svg?type=shield&issueType=license)](https://app.fossa.com/projects/custom%2B162%2Fgit%2Bgithub.com%2FKuadrant%2Fwasm-shim?ref=badge_shield&issueType=license) A Proxy-Wasm module written in Rust, acting as a shim between Envoy and Limitador.