We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f5673a commit 56d3e5dCopy full SHA for 56d3e5d
index.js
@@ -42,12 +42,12 @@ const main = async () => {
42
}
43
44
if (merge_method === 'fast-forward') {
45
- core.info('Updating to: ' + pullRequest.data.base.ref + '@' + pullRequest.data.head.sha);
+ core.info('Updating to: ' + 'heads/' + pullRequest.data.base.ref + '@' + pullRequest.data.head.sha);
46
await octokit.git.updateRef({
47
force: false,
48
...context.repo,
49
...context.owner,
50
- ref: 'refs/heads/' + pullRequest.data.base.ref,
+ ref: 'heads/' + pullRequest.data.base.ref,
51
sha: pullRequest.data.head.sha,
52
});
53
} else {
0 commit comments