From e0f1946c7be4d046bd57a59da07ead4e55f9e497 Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Sun, 8 Feb 2026 14:02:08 +0100 Subject: [PATCH] fix: use github.action_path instead of checking out action repo github.action_repository/ref inside a composite action resolve to the current step's action (actions/checkout), not the parent composite action. Use github.action_path which points to the already-downloaded action source. --- action.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/action.yml b/action.yml index 132eb37..48100ed 100644 --- a/action.yml +++ b/action.yml @@ -34,17 +34,10 @@ runs: - name: Setup Bun uses: oven-sh/setup-bun@v2 - - name: Checkout Sequoia CLI - uses: actions/checkout@v4 - with: - repository: ${{ github.action_repository }} - ref: ${{ github.action_ref }} - path: .sequoia-action - - name: Build and install Sequoia CLI shell: bash run: | - cd .sequoia-action + cd ${{ github.action_path }} bun install bun run build:cli bun link --cwd packages/cli @@ -72,10 +65,6 @@ runs: fi sequoia publish $FLAGS - - name: Clean up action checkout - shell: bash - run: rm -rf .sequoia-action - - name: Commit back changes if: inputs.commit-back == 'true' shell: bash -- 2.51.2