Skip to content

Commit e78c14e

Browse files
committed
Enable merge
1 parent 75403cb commit e78c14e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

__tests__/mergePR.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const nooctokit = new Octokit({
1111
auth: '1234567890'
1212
})
1313

14-
const prNumber = 7
14+
const prNumber = 8
1515
const repoName = 'github-action-close-code-pr'
1616
const owner = 'ThingsO2'
1717

src/main.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import * as core from '@actions/core'
22
import { Octokit } from "@octokit/core"
3-
import { RequestError } from "@octokit/request-error"
43
import { getLabels } from './getLabels'
54
import { searchPRwithLabels } from './searchPRwithLabels'
65
import { searchCodePR } from './searchCodePR'
@@ -61,7 +60,7 @@ try {
6160
auth: process.env.GITHUB_TOKEN
6261
})
6362

64-
main(octokit, { prNumber, repoName, owner }, false)
63+
main(octokit, { prNumber, repoName, owner }, true)
6564
} catch (error) {
6665
core.setFailed(error.message)
6766
}

0 commit comments

Comments
 (0)