-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (26 loc) · 1 KB
/
dependency-review.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: 'Dependency Review'
on:
pull_request:
paths:
- '.github/workflows/**'
- '**.nix'
- 'go.mod'
- 'go.sum'
permissions:
contents: read
jobs:
dependency-review:
timeout-minutes: 15
runs-on: ubuntu-24.04
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v4
- name: 'Dependency Review'
uses: actions/dependency-review-action@v4
with:
# https://spdx.org/licenses/
allow-licenses: MIT, BSD-3-Clause, BSD-2-Clause, 0BSD, Unlicense, ISC, Apache-2.0, CC-BY-4.0
# The PURL prefix is got from following command
# `gh api -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /repos/kachick/selfup/dependency-graph/compare/87d736b80a8a254bcac003d97e0b84712176b04f...5ba877ff1048d5fedcc6758484623eb67737f0fb`
# Not found in https://github.com/package-url/packageurl-js
allow-dependencies-licenses: pkg:githubactions/DeterminateSystems/nix-installer-action