Skip to content

Commit 3c9546d

Browse files
authored
chore: enhance issue template (#66)
1 parent 5589207 commit 3c9546d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/monitor-metrics.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,13 @@ jobs:
6060
}
6161
const url = `${context.serverUrl}//${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}`
6262
const urlLink = `[Open](${url})`
63-
const issueTitle = `Benchmark Performance Degradation`
63+
const date = new Date();
64+
const year = date.getFullYear();
65+
const month = ('0' + (date.getMonth() + 1)).slice(-2);
66+
const day = ('0' + date.getDate()).slice(-2);
67+
const today = `${year}-${month}-${day}`
68+
69+
const issueTitle = `Benchmark Performance Degradation (${today})`
6470
const issueBody = `
6571
📝 Benchmark detail: ${urlLink}
6672

0 commit comments

Comments
 (0)