|
| 1 | +# |
| 2 | +# Licensed to the Apache Software Foundation (ASF) under one |
| 3 | +# or more contributor license agreements. See the NOTICE file |
| 4 | +# distributed with this work for additional information |
| 5 | +# regarding copyright ownership. The ASF licenses this file |
| 6 | +# to you under the Apache License, Version 2.0 (the |
| 7 | +# "License"); you may not use this file except in compliance |
| 8 | +# with the License. You may obtain a copy of the License at |
| 9 | +# |
| 10 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | +# |
| 12 | +# Unless required by applicable law or agreed to in writing, |
| 13 | +# software distributed under the License is distributed on an |
| 14 | +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | +# KIND, either express or implied. See the License for the |
| 16 | +# specific language governing permissions and limitations |
| 17 | +# under the License. |
| 18 | +# |
| 19 | + |
| 20 | +name: "Dependency Review" |
| 21 | + |
| 22 | +on: |
| 23 | + pull_request: |
| 24 | + |
| 25 | +permissions: |
| 26 | + contents: read |
| 27 | + |
| 28 | +jobs: |
| 29 | + dependency-review: |
| 30 | + runs-on: ubuntu-latest |
| 31 | + steps: |
| 32 | + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 |
| 33 | + with: |
| 34 | + persist-credentials: false |
| 35 | + |
| 36 | + - name: Dependency Review |
| 37 | + uses: actions/dependency-review-action@2031cfc080254a8a887f58cffee85186f0e49e48 # v4.9.0 |
| 38 | + with: |
| 39 | + fail-on-severity: high |
| 40 | + # ASF 3rd Party License Policy: https://www.apache.org/legal/resolved.html |
| 41 | + # |
| 42 | + # Category A — auto-allowed (listed below): |
| 43 | + # Apache-like, BSD, MIT, PSF, CC0, etc. |
| 44 | + # |
| 45 | + # Category B — blocked by allow-list, requires manual review: |
| 46 | + # CDDL-1.0, CDDL-1.1, CPL-1.0, |
| 47 | + # EPL-1.0, EPL-2.0, |
| 48 | + # IPL-1.0, |
| 49 | + # MPL-1.0, MPL-1.1, MPL-2.0, |
| 50 | + # SPL-1.0, |
| 51 | + # OSL-3.0, |
| 52 | + # CC-BY-2.5, CC-BY-3.0, CC-BY-4.0, |
| 53 | + # CC-BY-SA-2.5, CC-BY-SA-3.0, CC-BY-SA-4.0 (unmodified media only) |
| 54 | + # Permitted in binary form only, with appropriate labeling. |
| 55 | + # |
| 56 | + # Category X — always blocked (never allow): |
| 57 | + # GPL-1.0/2.0/3.0, AGPL-1.0/3.0, LGPL-2.0/2.1/3.0, |
| 58 | + # SSPL-1.0, BUSL-1.1, |
| 59 | + # CC-BY-NC-*, BSD-4-Clause, QPL-1.0, Sleepycat, |
| 60 | + # CPOL-1.02, NPL-1.0/1.1, JSON, APSL-2.0 |
| 61 | + # |
| 62 | + allow-licenses: >- |
| 63 | + Apache-2.0, Apache-1.1, |
| 64 | + MIT, MIT-0, |
| 65 | + ISC, |
| 66 | + BSD-2-Clause, BSD-3-Clause, |
| 67 | + PSF-2.0, Python-2.0, |
| 68 | + BSL-1.0, |
| 69 | + Unlicense, |
| 70 | + 0BSD, |
| 71 | + Zlib, |
| 72 | + CC0-1.0, |
| 73 | + CC-PDDC, |
| 74 | + ECL-2.0, |
| 75 | + AFL-3.0, |
| 76 | + MS-PL, |
| 77 | + UPL-1.0, |
| 78 | + NCSA, |
| 79 | + W3C, |
| 80 | + PostgreSQL, |
| 81 | + HPND, |
| 82 | + MulanPSL-2.0, |
| 83 | + BlueOak-1.0.0, |
| 84 | + Artistic-2.0, |
| 85 | + Zope-2.0 |
0 commit comments