From b6f8be18530324c31eac8e6328eec60aa9270670 Mon Sep 17 00:00:00 2001 From: packagespace Date: Mon, 5 May 2025 22:04:16 +0200 Subject: [PATCH 1/3] Update action.yml --- action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index df2fb32..b2b7783 100644 --- a/action.yml +++ b/action.yml @@ -21,7 +21,8 @@ runs: steps: - name: Checkout code uses: actions/checkout@v4 - + with: + fetch-depth: 0 - name: Check for .ruby-version file id: use_ruby_version_or_default shell: bash From 7ca3b5202123863ee301c76a1046143602833c4c Mon Sep 17 00:00:00 2001 From: packagespace Date: Mon, 5 May 2025 22:16:01 +0200 Subject: [PATCH 2/3] Update action.yml Try to get ref --- action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/action.yml b/action.yml index b2b7783..27acb67 100644 --- a/action.yml +++ b/action.yml @@ -23,6 +23,7 @@ runs: uses: actions/checkout@v4 with: fetch-depth: 0 + ref: ${{ github.event.pull_request.head.ref }} - name: Check for .ruby-version file id: use_ruby_version_or_default shell: bash From a9050d2442db97288183940ce7e74e3b05f8e4ae Mon Sep 17 00:00:00 2001 From: packagespace Date: Mon, 5 May 2025 22:25:03 +0200 Subject: [PATCH 3/3] Update action.yml Try without fetching all branches --- action.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/action.yml b/action.yml index 27acb67..08f9f00 100644 --- a/action.yml +++ b/action.yml @@ -22,7 +22,6 @@ runs: - name: Checkout code uses: actions/checkout@v4 with: - fetch-depth: 0 ref: ${{ github.event.pull_request.head.ref }} - name: Check for .ruby-version file id: use_ruby_version_or_default