Skip to content

Commit 049eef2

Browse files
authored
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 28053aa commit 049eef2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
ruby-version: ruby # Install latest version
7676

7777
- name: Install licensed
78-
uses: github/setup-licensed@v1
78+
uses: github/setup-licensed@v1.3.1
7979
with:
8080
github_token: ${{ secrets.GITHUB_TOKEN }}
8181
version: 5.x

0 commit comments

Comments
 (0)