Skip to content

Commit 71eaa0d

Browse files
Fix comment commands to source branches (#1125)
Fix comment commands to source branches to run nightly tests in correct repo
1 parent b433fa6 commit 71eaa0d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/comment_commands.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,16 @@ jobs:
3636
})
3737
core.setOutput('sha', pr.data.head.sha)
3838
core.setOutput('branch', pr.data.head.ref)
39+
core.setOutput('repository', pr.data.head.repo.full_name)
3940
4041
- name: Checkout code on the correct branch
4142
uses: actions/checkout@v4
4243
with:
4344
# context is not aware which branch to checkout so it would otherwise
44-
# default to main
45+
# default to main (we also need repo name to source from the right user
46+
# otherwise it will look for the branch in pandas-stubs repo)
4547
ref: ${{ steps.get-branch-info.outputs.branch }}
48+
repository: ${{ steps.get-branch-info.outputs.repository }}
4649

4750
- name: Install project dependencies
4851
uses: ./.github/setup

0 commit comments

Comments
 (0)