From f2f7f58db48df7d531a0c3605f9d676c491898ec Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 3 Jun 2024 18:22:32 -0400 Subject: [PATCH 1/2] ci: Use github/setup-licensed --- .github/workflows/licensed.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/licensed.yml b/.github/workflows/licensed.yml index 7afc7a306..66cfac5c7 100644 --- a/.github/workflows/licensed.yml +++ b/.github/workflows/licensed.yml @@ -16,9 +16,12 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 # prefer to use a full fetch for licensed workflows - # https://github.com/jonabc/setup-licensed/releases/tag/v1.1.1 - - uses: jonabc/setup-licensed@82c5f4d19e8968efa74a25b132922382c2671fe2 + - uses: ruby/setup-ruby@v1 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 - run: licensed status From fd2cfc12fa2eb818c6d8e4174277d6da3f69504b Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 10 Jun 2024 18:16:25 -0400 Subject: [PATCH 2/2] ci: pin ruby/setup-ruby --- .github/workflows/licensed.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/licensed.yml b/.github/workflows/licensed.yml index 66cfac5c7..0c510aee6 100644 --- a/.github/workflows/licensed.yml +++ b/.github/workflows/licensed.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 # prefer to use a full fetch for licensed workflows - - uses: ruby/setup-ruby@v1 + - uses: ruby/setup-ruby@28c4deda893d5a96a6b2d958c5b47fc18d65c9d3 # v1.213.0 with: ruby-version: ruby - uses: github/setup-licensed@v1