Skip to content

Commit 55f3a5a

Browse files
committed
Fix the auto-close PR workflow
Now i managed to find that the github.repository was correct after all: https://docs.github.com/en/actions/reference/workflows-and-actions/variables
1 parent 15eb56b commit 55f3a5a

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)