From f9b63a7ac963e5a378567e06c8c107ef0a1f4b00 Mon Sep 17 00:00:00 2001 From: Julien Goux Date: Wed, 6 May 2026 18:46:19 +0200 Subject: [PATCH] fix: cache licensed action --- .github/workflows/licensed.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/licensed.yml b/.github/workflows/licensed.yml index 93100f2..0ae1b61 100644 --- a/.github/workflows/licensed.yml +++ b/.github/workflows/licensed.yml @@ -1,6 +1,6 @@ -# This workflow checks the statuses of cached dependencies used in this action -# with the help of the Licensed tool. If any licenses are invalid or missing, -# this workflow will fail. See: https://github.com/licensee/licensed +# This workflow refreshes and checks dependency license records used in this +# action with the help of the Licensed tool. If any licenses are invalid or +# missing, this workflow will fail. See: https://github.com/licensee/licensed name: Licensed @@ -81,6 +81,11 @@ jobs: version: 4.x github_token: ${{ secrets.GITHUB_TOKEN }} + - name: Refresh License Cache + id: refresh-license-cache + if: steps.license-inputs.outputs.changed == 'true' + run: licensed cache + - name: Check Licenses id: check-licenses if: steps.license-inputs.outputs.changed == 'true'