From 3caa3d9e5050f8e1a79e68ec61ed5f39964cbdd0 Mon Sep 17 00:00:00 2001 From: Takashi Masuda Date: Tue, 29 Oct 2024 18:43:54 +0900 Subject: [PATCH 1/2] Fix invalid "ref" for forked PRs --- .github/workflows/license.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml index c6f4810e..989d6669 100644 --- a/.github/workflows/license.yml +++ b/.github/workflows/license.yml @@ -25,10 +25,15 @@ jobs: with: app-id: ${{ vars.CI_TRIGGER_APP_ID }} private-key: ${{ secrets.CI_TRIGGER_APP_PRIVATE_KEY }} - - uses: actions/checkout@v4 + - name: Checkout code for non-fork PRs + if: steps.fork-check.outputs.is_fork != 'true' + uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.ref }} - token: ${{ steps.app-token.outputs.token || secrets.GITHUB_TOKEN }} + token: ${{ steps.app-token.outputs.token }} + - name: Checkout code for forked PRs + if: steps.fork-check.outputs.is_fork == 'true' + uses: actions/checkout@v4 # To make the success of this job a prerequisite for merging into the main branch, # set a filter here instead of on: to determine whether or not to proceed to the next step. - name: Cache dependency files From 89517859b1aa8a251e5bb411b67dab7c093ea717 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 29 Oct 2024 09:49:33 +0000 Subject: [PATCH 2/2] Update docs/packages-license.md --- docs/packages-license.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/packages-license.md b/docs/packages-license.md index 90472f48..a989b17a 100644 --- a/docs/packages-license.md +++ b/docs/packages-license.md @@ -1,6 +1,6 @@ # giselle -As of October 24, 2024 10:30am. 926 total +As of October 29, 2024 9:49am. 926 total ## Summary * 667 MIT