Skip to content

Commit d1698f5

Browse files
committed
Test go license check
Signed-off-by: Arjun Raja <[email protected]>
1 parent 3134eeb commit d1698f5

File tree

1 file changed

+32
-6
lines changed

1 file changed

+32
-6
lines changed

Diff for: .github/workflows/ci.yml

+32-6
Original file line numberDiff line numberDiff line change
@@ -39,28 +39,54 @@ jobs:
3939
#
4040
project:
4141
name: Project Checks
42-
if: github.repository == 'containerd/containerd'
42+
if: github.repository == 'coderbirju/containerd'
4343
runs-on: ubuntu-22.04
4444
timeout-minutes: 5
4545

4646
steps:
4747
- uses: actions/checkout@v4
4848
with:
49-
path: src/github.com/containerd/containerd
49+
path: src/github.com/coderbirju/containerd
5050
fetch-depth: 100
5151

52-
- uses: ./src/github.com/containerd/containerd/.github/actions/install-go
52+
- uses: ./src/github.com/coderbirju/containerd/.github/actions/install-go
5353

54-
- uses: containerd/[email protected].0
54+
- uses: coderbirju/[email protected].4
5555
with:
56-
working-directory: src/github.com/containerd/containerd
56+
working-directory: src/github.com/coderbirju/containerd
5757
repo-access-token: ${{ secrets.GITHUB_TOKEN }}
5858

5959
- name: verify go modules and vendor directory
6060
run: |
6161
sudo apt-get install -y jq
6262
make verify-vendor
63-
working-directory: src/github.com/containerd/containerd
63+
working-directory: src/github.com/coderbirju/containerd
64+
65+
66+
#
67+
# License Check
68+
#
69+
# License:
70+
# name: License Check
71+
# runs-on: ubuntu-22.04
72+
# timeout-minutes: 5
73+
74+
# defaults:
75+
# run:
76+
# working-directory: src/github.com/containerd/containerd
77+
78+
# steps:
79+
# - uses: actions/checkout@v4
80+
# with:
81+
# path: src/github.com/containerd/containerd
82+
83+
# - uses: ./src/github.com/containerd/containerd/.github/actions/install-go
84+
# - name: Install go-licenses and run checks
85+
# shell: bash
86+
# # allow list from https://github.com/cncf/foundation/blob/e5db022a0009f4db52b89d9875640cf3137153fe/allowed-third-party-license-policy.md
87+
# run: |
88+
# go install github.com/google/[email protected]
89+
# go-licenses check --include_tests github.com/containerd/containerd/... --allowed_licenses=Apache-2.0,BSD-2-Clause,BSD-2-Clause-FreeBSD,BSD-3-Clause,MIT,ISC,Python-2.0,PostgreSQL,X11,Zlib
6490

6591
#
6692
# Protobuf checks

0 commit comments

Comments
 (0)