mirror of
https://github.com/actions/github-script.git
synced 2025-12-08 16:16:21 +00:00
Merge pull request #473 from nschonni/upstream-setup-license
ci: Use github/setup-licensed
This commit is contained in:
9
.github/workflows/licensed.yml
vendored
9
.github/workflows/licensed.yml
vendored
@@ -19,9 +19,12 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # prefer to use a full fetch for licensed workflows
|
fetch-depth: 0 # prefer to use a full fetch for licensed workflows
|
||||||
# https://github.com/jonabc/setup-licensed/releases/tag/v1.1.1
|
- uses: ruby/setup-ruby@28c4deda893d5a96a6b2d958c5b47fc18d65c9d3 # v1.213.0
|
||||||
- uses: jonabc/setup-licensed@82c5f4d19e8968efa74a25b132922382c2671fe2
|
|
||||||
with:
|
with:
|
||||||
version: '3.x'
|
ruby-version: ruby
|
||||||
|
- uses: github/setup-licensed@v1
|
||||||
|
with:
|
||||||
|
version: '4.x'
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- uses: ./.github/actions/install-dependencies
|
- uses: ./.github/actions/install-dependencies
|
||||||
- run: licensed status
|
- run: licensed status
|
||||||
|
|||||||
Reference in New Issue
Block a user