Skip to content

Commit 3724c05

Browse files
committed
chore: normalize pr no
1 parent d78c44f commit 3724c05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/actions/issue-pr.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const getOthers = <A, B>(condition: boolean, a: A, b: B): A | B => condit
3535
const action: Action = async(github, context, core) => {
3636
const payload = context.payload || {}
3737
const issue = payload.issue
38-
const no = context.issue.number + 100
38+
const no = context.issue.number
3939

4040
if (!issue) return
4141

@@ -187,7 +187,7 @@ const action: Action = async(github, context, core) => {
187187
}
188188
else {
189189
core.info("-----Creating PR-----")
190-
const normalizedNo = no - 100
190+
const normalizedNo = no
191191
const { data: pr } = await github.pulls.create({
192192
owner: context.repo.owner,
193193
repo: context.repo.repo,

0 commit comments

Comments
 (0)