Skip to content

Commit

Permalink
updating licenses ci workflow. regenerating licenses cache
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnHartsell committed Jan 17, 2024
1 parent caf8f80 commit 178e192
Show file tree
Hide file tree
Showing 197 changed files with 2,158 additions and 10,124 deletions.
47 changes: 37 additions & 10 deletions .github/workflows/licenced.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,50 @@
name: licenced
name: Licences Check

on:
push:
paths-ignore:
- "docs/**"
branches:
- "**"
- main
pull_request:
branches:
- main
- enterprise-*.*-release
workflow_dispatch:

# github/licensed-ci
permissions:
pull-requests: write
contents: write

jobs:
licenced:
name: Licences Check
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod

- run: go version

- run: go mod vendor

# Ruby is required for licensed
- uses: ruby/setup-ruby@bc1dd263b68cb5626dbb55d5c89777d79372c484
with:
go-version: 1.14.1
- uses: jonabc/setup-licensed@53335d677bd13ee176a37f1612fbe030c08c1d2b
ruby-version: "3.2"

- uses: github/setup-licensed@v1
with:
version: 2.x
- uses: jonabc/licensed-ci@b092bcc641fecee0b731506cf2736d33c9f47831
version: 4.x

- uses: github/licensed-ci@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
workflow: branch
Expand Down
5 changes: 0 additions & 5 deletions .licensed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ go:
mod: vendor

apps:
- source_path: .
- source_path: ./src

allowed:
Expand All @@ -17,7 +16,3 @@ allowed:
- cc0-1.0
- unlicense
- other

ignored:
go:
- golang.org/x/**/*
65 changes: 0 additions & 65 deletions .licenses/go/github.com/ProtonMail/go-crypto/eax.dep.yml

This file was deleted.

65 changes: 0 additions & 65 deletions .licenses/go/github.com/ProtonMail/go-crypto/ocb.dep.yml

This file was deleted.

63 changes: 0 additions & 63 deletions .licenses/go/github.com/ProtonMail/go-crypto/openpgp/ecdh.dep.yml

This file was deleted.

This file was deleted.

52 changes: 0 additions & 52 deletions .licenses/go/github.com/emirpasic/gods/containers.dep.yml

This file was deleted.

0 comments on commit 178e192

Please sign in to comment.