Feature/add inference sample #171
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Dependency Review (FLOSS) | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true' | |
| jobs: | |
| dependency-review: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - name: Dependency Review | |
| uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0 | |
| with: | |
| # ✅ Fail PRs that introduce disallowed licenses | |
| # LGPL-2.0-or-later, LGPL-2.1-only, MPL-1.1: charset-normalizer (embedded Unicode/Mozilla test data) | |
| # OFL-1.1: fonttools (bundled font test files) | |
| # MPL-2.0: certifi | |
| # PSF-2.0: matplotlib | |
| # ISC: pexpect, ptyprocess | |
| # LGPL-3.0-or-later: pyzmq (libzmq shared library) | |
| # HPND: pillow | |
| # HPND-Markus-Kuhn: wcwidth (used in jupyter stack) | |
| # Python-2.0, GPL-1.0-or-later, 0BSD: typing-extensions (CPython compound license) | |
| allow-licenses: >- | |
| MIT, Apache-2.0, BSD-2-Clause, BSD-3-Clause, | |
| LGPL-2.0-or-later, LGPL-2.1-only, LGPL-3.0-or-later, | |
| MPL-1.1, MPL-2.0, | |
| OFL-1.1, | |
| PSF-2.0, | |
| ISC, | |
| HPND, | |
| HPND-Markus-Kuhn, | |
| Python-2.0, | |
| GPL-1.0-or-later, | |
| 0BSD | |
| # ✅ Packages whose license cannot be auto-detected | |
| # cyclonedx-python-lib is Apache-2.0 (https://github.com/CycloneDX/cyclonedx-python-lib) | |
| allow-dependencies-licenses: "pkg:pypi/cyclonedx-python-lib" |