Skip to content

Commit

Permalink
Bump backport to 5.6.6
Browse files Browse the repository at this point in the history
  • Loading branch information
brianseeders committed Feb 16, 2021
1 parent 590c77c commit c814e81
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 18 deletions.
4 changes: 3 additions & 1 deletion backport/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 12 additions & 13 deletions backport/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,18 @@ async function backport() {

const config = await getConfig(repo.owner, repo.repo, branch);

const backportResponse = await run(
{
...config,
accessToken,
fork: true,
username: commitUser,
ci: true,
pullNumber: pullRequest.number,
labels: ['backport'],
assignees: [owner],
},
['--autoMerge', 'true', '--autoMergeMethod', 'squash'],
);
const backportResponse = await run({
...config,
accessToken,
fork: true,
username: commitUser,
ci: true,
pullNumber: pullRequest.number,
labels: ['backport'],
assignees: [owner],
autoMerge: true,
autoMergeMethod: 'squash',
});

await createStatusComment({
accessToken,
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@actions/github": "^2.1.1",
"@octokit/rest": "^16.43.1",
"axios": "^0.21.1",
"backport": "5.6.5"
"backport": "5.6.6"
},
"devDependencies": {
"@types/chai": "^4.2.10",
Expand Down

0 comments on commit c814e81

Please sign in to comment.