Skip to content

Commit

Permalink
set checkout ref to PR head.
Browse files Browse the repository at this point in the history
  • Loading branch information
toshihikoyanase committed Mar 29, 2023
1 parent 571e294 commit 271fd15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/netlify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
steps:

- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}

- uses: actions/setup-python@v4
with:
Expand All @@ -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: |
Expand Down

0 comments on commit 271fd15

Please sign in to comment.