Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/comment_commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,16 @@ jobs:
})
core.setOutput('sha', pr.data.head.sha)
core.setOutput('branch', pr.data.head.ref)
core.setOutput('repository', pr.data.head.repo.full_name)

- name: Checkout code on the correct branch
uses: actions/checkout@v4
with:
# context is not aware which branch to checkout so it would otherwise
# default to main
# default to main (we also need repo name to source from the right user
# otherwise it will look for the branch in pandas-stubs repo)
ref: ${{ steps.get-branch-info.outputs.branch }}
repository: ${{ steps.get-branch-info.outputs.repository }}

- name: Install project dependencies
uses: ./.github/setup
Expand Down