Skip to content

Commit 738c2bf

Browse files
authored
Merge pull request #94 from actions/sh/licensed
Updating license check
2 parents caf8f80 + fc6c0a1 commit 738c2bf

File tree

198 files changed

+2172
-10141
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

198 files changed

+2172
-10141
lines changed

.github/workflows/licenced.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/licensed.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: licenses check
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
workflow_dispatch:
11+
12+
# github/licensed-ci
13+
permissions:
14+
pull-requests: write
15+
contents: write
16+
17+
jobs:
18+
licensed:
19+
name: licensed check
20+
runs-on: ubuntu-latest
21+
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@v4
25+
with:
26+
fetch-depth: 0
27+
28+
- name: Install Go
29+
uses: actions/setup-go@v4
30+
with:
31+
go-version-file: go.mod
32+
33+
- run: go version
34+
35+
- run: go mod vendor
36+
37+
# Ruby is required for licensed
38+
- uses: ruby/setup-ruby@bc1dd263b68cb5626dbb55d5c89777d79372c484
39+
with:
40+
ruby-version: "3.2"
41+
42+
- uses: github/setup-licensed@v1
43+
with:
44+
version: 4.x
45+
46+
- uses: github/licensed-ci@v1
47+
with:
48+
github_token: ${{ secrets.GITHUB_TOKEN }}
49+
workflow: branch
50+
env:
51+
GOFLAGS: "-mod=vendor"

.licensed.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ go:
55
mod: vendor
66

77
apps:
8-
- source_path: .
98
- source_path: ./src
109

1110
allowed:
@@ -17,7 +16,3 @@ allowed:
1716
- cc0-1.0
1817
- unlicense
1918
- other
20-
21-
ignored:
22-
go:
23-
- golang.org/x/**/*

.licenses/go/github.com/ProtonMail/go-crypto/eax.dep.yml

Lines changed: 0 additions & 65 deletions
This file was deleted.

.licenses/go/github.com/ProtonMail/go-crypto/ocb.dep.yml

Lines changed: 0 additions & 65 deletions
This file was deleted.

.licenses/go/github.com/ProtonMail/go-crypto/openpgp/ecdh.dep.yml

Lines changed: 0 additions & 63 deletions
This file was deleted.

.licenses/go/github.com/ProtonMail/go-crypto/openpgp/internal/encoding.dep.yml

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)