Skip to content

Commit 0aac4cc

Browse files
committed
Use latest version of "github/setup-licensed" action
This "github/setup-licensed" action is used by the dependencies license check workflow to install the "Licensed" tool in the runner machine. Previously the `v1` major version ref of the action was specified in the workflow. This approach is used in order to allow the workflow to automatically always use the latest minor version of the action, only requiring the project maintainers to perform a bump of the action after each major version release. In a competently maintained action project, the major version ref will be updated after each release within that major version series so that it always points to the latest release version. Unfortunately that was not done by the "github/setup-licensed" action maintainers. This means that the use of the `v1` ref in the workflow causes an outdated version of the action to be used. This has been reported to the action maintainers, but unfortunately instead of fixing the problem they archived the repository, so there is no hope of it being resolved. The solution is to replace the major version ref with the ref for the latest release tag. This won't result in an increased maintenance burden because the action repository is archived and thus there won't be any bumps.
1 parent 4b7f8d6 commit 0aac4cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/workflows/check-npm-dependencies-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
ruby-version: ruby # Install latest version
7878

7979
- name: Install licensed
80-
uses: github/setup-licensed@v1
80+
uses: github/setup-licensed@v1.3.1
8181
with:
8282
github_token: ${{ secrets.GITHUB_TOKEN }}
8383
version: 3.x

0 commit comments

Comments
 (0)