File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -32,20 +32,20 @@ jobs:
3232
3333 if [[ "$BASE_REF" == "master" ]]; then
3434 # Download just the diff so it is harder to accidentally run any code from the pull request.
35- gh pr diff "$PR_NUMBER" > pr.diff
35+ gh pr diff --repo TurboWarp/desktop "$PR_NUMBER" > pr.diff
3636
3737 # Note that pcregrep exits with success on any match, failure on no match
3838 if pcregrep -M "^--- /dev/null\n\+\+\+ b/extensions/" pr.diff; then
3939 # Example:
4040 # --- /dev/null
4141 # +++ b/extensions/DangoCat/extension.js
42- gh pr edit "$PR_NUMBER" --add-label "$LABEL_NEW_EXTENSION"
42+ gh pr edit --repo TurboWarp/desktop "$PR_NUMBER" --add-label "$LABEL_NEW_EXTENSION"
4343 got_any_specific_label=true
4444 elif pcregrep "^\+\+\+ b/extensions/" pr.diff; then
4545 # Example:
4646 # --- a/extensions/DangoCat/extension.js
4747 # +++ b/extensions/DangoCat/extension.js
48- gh pr edit "$PR_NUMBER" --add-label "$LABEL_CHANGE_EXTENSION"
48+ gh pr edit --repo TurboWarp/desktop "$PR_NUMBER" --add-label "$LABEL_CHANGE_EXTENSION"
4949 got_any_specific_label=true
5050 fi
5151 else
5454
5555 # Any PR that didn't get a specific label will go into other, for a human to look at.
5656 if [[ "$got_any_specific_label" == "false" ]]; then
57- gh pr edit "$PR_NUMBER" --add-label "$LABEL_OTHER"
57+ gh pr edit --repo TurboWarp/desktop "$PR_NUMBER" --add-label "$LABEL_OTHER"
5858 fi
5959 env :
6060 PR_NUMBER : " ${{ github.event.number }}"
You can’t perform that action at this time.
0 commit comments