Skip to content

Commit 16afa4b

Browse files
committed
Use maintained fork of "setup-licensed" action in dependency license check workflow
This GitHub Actions action is used by the dependency license check workflow to install the "Licensed" tool in the runner workspace. The action has a convoluted history of ownership: the repository was originally owned by GitHub user "jonabc". It was later transferred to the "github" organization. Then GitHub abandoned the project, archiving the repository. The "licensee" organization has now created a hard fork of the action, which is recommended in the readme of the "github/setup-licensed" repository. The `licensee` organization has also taken over the management of the "Licensed" tool, and their `licensee` Ruby gem is a significant dependency of "Licensed". So they will be best equipped to maintain the action going forward. The workflow is hereby updated to use the now canonical "licensee/setup-licensed" action. The "licensee/setup-licensed" action maintainers have not provided a major version ref, so it is necessary to pin the action to the latest release tag.
1 parent 4b055c5 commit 16afa4b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/check-npm-dependencies-task.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ jobs:
7070
with:
7171
submodules: recursive
7272

73-
# This is required to allow jonabc/setup-licensed to install licensed via Ruby gem.
73+
# This is required to allow licensee/setup-licensed to install licensed via Ruby gem.
7474
- name: Install Ruby
7575
uses: ruby/setup-ruby@v1
7676
with:
7777
ruby-version: ruby # Install latest version
7878

7979
- name: Install licensed
80-
uses: github/[email protected].1
80+
uses: licensee/[email protected].2
8181
with:
8282
github_token: ${{ secrets.GITHUB_TOKEN }}
8383
version: 5.x
@@ -129,14 +129,14 @@ jobs:
129129
with:
130130
submodules: recursive
131131

132-
# This is required to allow jonabc/setup-licensed to install licensed via Ruby gem.
132+
# This is required to allow licensee/setup-licensed to install licensed via Ruby gem.
133133
- name: Install Ruby
134134
uses: ruby/setup-ruby@v1
135135
with:
136136
ruby-version: ruby # Install latest version
137137

138138
- name: Install licensed
139-
uses: jonabc/setup-licensed@v1
139+
uses: licensee/setup-licensed@v1.3.2
140140
with:
141141
github_token: ${{ secrets.GITHUB_TOKEN }}
142142
version: 3.x

0 commit comments

Comments
 (0)