From c050a639af559fc18e3f382bae1e531e53bfc11d Mon Sep 17 00:00:00 2001 From: syui Date: Fri, 18 Jul 2025 15:28:56 +0900 Subject: [PATCH] Fix GitHub Actions warning for setup-node inputs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Move 'ref' and 'fetch-depth' parameters from setup-node to checkout action - These parameters belong to actions/checkout, not actions/setup-node - Resolves "Unexpected input(s)" warnings in workflow 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .github/workflows/gh-pages.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index e835948..4d21ad0 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -11,11 +11,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + ref: ${{ github.ref }} + fetch-depth: 0 - uses: actions/setup-node@v4 with: node-version: 23 - ref: ${{ github.ref }} - fetch-depth: 0 - run: | npm install