Skip to content

Commit

Permalink
Merge pull request #94 from actions/sh/licensed
Browse files Browse the repository at this point in the history
Updating license check
  • Loading branch information
jherns committed Feb 9, 2024
2 parents caf8f80 + fc6c0a1 commit 738c2bf
Show file tree
Hide file tree
Showing 198 changed files with 2,172 additions and 10,141 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/licenced.yml

This file was deleted.

51 changes: 51 additions & 0 deletions .github/workflows/licensed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: licenses check

on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:

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

jobs:
licensed:
name: licensed check
runs-on: ubuntu-latest

steps:
- 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:
ruby-version: "3.2"

- uses: github/setup-licensed@v1
with:
version: 4.x

- uses: github/licensed-ci@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
workflow: branch
env:
GOFLAGS: "-mod=vendor"
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.

0 comments on commit 738c2bf

Please sign in to comment.