Skip to content

Commit

Permalink
Merge pull request #10 from toshihikoyanase/set-ref-to-checkout
Browse files Browse the repository at this point in the history
Set `ref` of `actions/checkout` ref to PR head.
  • Loading branch information
eukaryo authored Mar 29, 2023
2 parents 571e294 + 271fd15 commit 2f9d850
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

2 comments on commit 2f9d850

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.