Skip to content

Commit fbc8f8c

Browse files
Update issue body format in openIssueForFinding.ts
Refactor issue body template for accessibility findings.
1 parent 7702c24 commit fbc8f8c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/actions/file/src/openIssueForFinding.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ export async function openIssueForFinding(octokit: Octokit, repoWithOwner: strin
3838
- [ ] This PR MUST NOT introduce any new accessibility issues or regressions.
3939
`
4040

41-
const body = `
42-
## What
41+
const body = `## What
4342
An accessibility scan flagged the element \`${finding.html}\` on ${finding.url} because ${finding.problemShort}. Learn more about why this was flagged by visiting ${finding.problemUrl}.
4443
4544
To fix this, ${finding.solutionShort}.
@@ -56,4 +55,4 @@ ${acceptanceCriteria}
5655
labels
5756
});
5857
}
59-
}
58+
}

0 commit comments

Comments
 (0)