From 271fd1596fa32be98bad6a250774e1d2a6210bfd Mon Sep 17 00:00:00 2001 From: Toshihiko Yanase Date: Wed, 29 Mar 2023 15:27:45 +0900 Subject: [PATCH] set checkout ref to PR head. --- .github/workflows/netlify.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/netlify.yml b/.github/workflows/netlify.yml index 24b1fd5b1..efb230445 100644 --- a/.github/workflows/netlify.yml +++ b/.github/workflows/netlify.yml @@ -24,6 +24,8 @@ jobs: steps: - uses: actions/checkout@v3 + with: + ref: ${{ github.event.pull_request.head.sha }} - uses: actions/setup-python@v4 with: @@ -32,7 +34,6 @@ jobs: - name: Install Optuna run: | pip install -U pip - pip install --progress-bar off . pip install git+https://github.com/optuna/optuna.git - name: Install Optuna visual regression run: |