Skip to content

Commit 0d9265c

Browse files
Restore repository param to reusable tests workflow (#10850)
1 parent e7d9768 commit 0d9265c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/tests.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ on:
1414
workflow_dispatch:
1515
workflow_call:
1616
inputs:
17+
repository:
18+
required: true
19+
type: string
1720
astroid_sha:
1821
required: true
1922
type: string
@@ -53,7 +56,7 @@ jobs:
5356
name: Check out code from GitHub
5457
uses: actions/[email protected]
5558
with:
56-
repository: ${{ github.repository }}
59+
repository: ${{ inputs.repository || github.repository }}
5760
- &setup-python
5861
name: Set up Python ${{ matrix.python-version }}
5962
id: python

0 commit comments

Comments
 (0)