Skip to content

Commit a9db6c0

Browse files
committed
fix: github action
1 parent 7ea87b9 commit a9db6c0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/github-action/contributors.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ const sponsors = ['ddotx', 'LMFinney'];
1515

1616
module.exports = {
1717
contributors,
18+
sponsors,
1819
};

.github/github-action/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ async function run() {
77
const title = github.context.payload.pull_request.title;
88
const labels = ['answer'];
99

10-
const match = title.match(/Answer:\s*(\d+)/);
10+
const match = title.match(/Answer(:?)\s*(\d+)/);
1111
if (match) {
1212
labels.push(String(parseInt(match[1], 10)));
1313
}

0 commit comments

Comments
 (0)