Skip to content

Commit cb0b8cd

Browse files
authored
Add repository context to PR title workflow
1 parent f241086 commit cb0b8cd

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/auto-pr-title.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
GH_TOKEN: ${{ github.token }}
1818
PR_NUMBER: ${{ github.event.pull_request.number }}
1919
BRANCH_NAME: ${{ github.head_ref }}
20+
REPOSITORY: ${{ github.repository }}
2021
TZ: Asia/Seoul
2122
run: |
2223
START_DATE="2026-07-30"
@@ -33,4 +34,6 @@ jobs:
3334
3435
echo "PR title: $TITLE"
3536
36-
gh pr edit "$PR_NUMBER" --title "$TITLE"
37+
gh pr edit "$PR_NUMBER" \
38+
--repo "$REPOSITORY" \
39+
--title "$TITLE"

0 commit comments

Comments
 (0)