-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #94 from actions/sh/licensed
Updating license check
- Loading branch information
Showing
198 changed files
with
2,172 additions
and
10,141 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
63 changes: 0 additions & 63 deletions
63
.licenses/go/github.com/ProtonMail/go-crypto/openpgp/ecdh.dep.yml
This file was deleted.
Oops, something went wrong.
63 changes: 0 additions & 63 deletions
63
.licenses/go/github.com/ProtonMail/go-crypto/openpgp/internal/encoding.dep.yml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.