Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4a35a53

Browse files
authored
fix: Incorrect fetch forbaseRef (#109)
1 parentddbf3d9 commit4a35a53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ async function run(octokit, context, token) {
9292
startGroup(`[base] Checkout target branch`);
9393
try{
9494
if(!baseRef)throwError('missing context.payload.pull_request.base.ref');
95-
awaitexec(`git fetch -n origin${baseRef}`);
95+
awaitexec(`git fetch -n origin${baseRef}:${baseRef}`);
9696
console.log('successfully fetched base.ref');
9797
}catch(e){
9898
console.log('fetching base.ref failed',e.message);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp