Skip to content

Commit

Permalink
Checkout correct PR sha
Browse files Browse the repository at this point in the history
  • Loading branch information
seanpmorgan committed Nov 7, 2023
1 parent 3c2f327 commit 6a67719
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/python_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@v2
with:
# Check out pull request's HEAD commit instead of the merge commit to
# work around an issue where wrong a commit is being checked out.
# For more details, see:
# https://github.com/actions/checkout/issues/299.
ref: ${{ github.event.pull_request.head.sha }}

- name: Set up Python 3.10
uses: actions/setup-python@v2
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ format:
init-python-sdk:
cd python-sdk; pip install -e '.[dev]' -U

init: init-python-sdk init-server
init:
echo "TESTING-PULLREQUEST-TARGET"

init-server:
cd server; npm install
Expand Down

0 comments on commit 6a67719

Please sign in to comment.