mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-05 17:53:12 +02:00
27 lines
771 B
YAML
27 lines
771 B
YAML
name: Dependency review
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
# If two events are triggered within a short time in the same PR, cancel the run of the oldest event
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
license_review:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
- name: Dependency review
|
|
uses: actions/dependency-review-action@v4
|
|
with:
|
|
fail-on-severity: moderate
|
|
allow-licenses: Apache-2.0, MIT, BSD-2-Clause, BSD-3-Clause, ISC, 0BSD, CC0-1.0, Unlicense, BlueOak-1.0.0, CC-BY-4.0, Artistic-2.0, PSF-2.0, MPL-2.0
|
|
comment-summary-in-pr: always
|