File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 55
55
# newly-introduced changes by comparing its head against that of
56
56
# the base. We still won't actually run code from that copy.
57
57
- name : Fetch base from PR copy
58
+ env :
59
+ BASE_REF : ${{ github.base_ref }}
58
60
run : |
59
61
cd pr
60
- git fetch origin ${{ github.base_ref }}
62
+ git fetch origin "$BASE_REF"
61
63
62
64
- name : Install Python
63
65
uses : actions/setup-python@v5
79
81
GITHUB_TOKEN : ${{ github.token }}
80
82
TARGET_SHA : ${{ github.event.pull_request.head.sha }}
81
83
PR_TITLE : ${{ github.event.pull_request.title }}
84
+ PR_NUMBER : ${{ github.event.pull_request.number }}
85
+ REPO_DIR : ${{ github.workspace }}
82
86
run : |
83
87
cd base/.changes
84
88
uv run amend \
85
89
--review-comment \
86
- --pull-request-number ${{ github.event.pull_request.number }} \
87
- --repository-dir ${{ github.workspace }} /pr
90
+ --pull-request-number "$REPO_NUMBER" \
91
+ --repository-dir "$REPO_DIR /pr"
You can’t perform that action at this time.
0 commit comments