Skip to content

Commit ba2b031

Browse files
Merge pull request #1377 from jistr/b/fix-auto-close-pr
Fix the auto-close PR workflow
2 parents ab645cb + 55f3a5a commit ba2b031

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/auto-close-downstream-prs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1818
run: |
1919
gh pr comment ${{ github.event.pull_request.number }} \
20-
--repo ${{ github.event.repository.name }} \
20+
--repo ${{ github.repository }} \
2121
--body "The \`downstream\` branch is managed via automation. Please open pull requests against the \`main\` branch and backports against an FR branch. This PR has been automatically closed."
2222
gh pr close ${{ github.event.pull_request.number }} \
23-
--repo ${{ github.event.repository.name }}
23+
--repo ${{ github.repository }}

0 commit comments

Comments
 (0)