We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36d9a6b commit c71419eCopy full SHA for c71419e
scripts/flakiness.mjs
@@ -7,6 +7,7 @@ const {
7
BRANCH,
8
CI,
9
DAYS = '1',
10
+ MERGE = 'true',
11
OCCURRENCES = '1',
12
UNTIL
13
} = process.env
@@ -94,7 +95,8 @@ async function checkWorkflowJobs (id, page = 1) {
94
95
if (job.conclusion !== 'failure') continue
96
97
const workflow = job.workflow_name
- const name = job.name.split(' ')[0] // Merge matrix runs of same job together.
98
+ // Merge matrix runs of same job together.
99
+ const name = MERGE === 'true' ? job.name.split(' ')[0] : job.name
100
101
flaky[workflow] ??= {}
102
flaky[workflow][name] ??= []
0 commit comments