fix: actions

This commit is contained in:
thomas
2024-04-18 09:38:21 +02:00
parent d191df0c16
commit b13eafc471
2 changed files with 2 additions and 6 deletions

View File

@@ -5,12 +5,7 @@ const { contributors } = require('./contributors');
async function run() {
try {
const title = github.context.payload.pull_request.title;
const labels = [];
if(!title.startsWith('Answer:')) {
return;
}
labels.push('answer');
const labels = ['answer'];
const match = title.match(/Answer:\s*(\d+)/);
if (match) {