Skip to content

Commit 52d65a7

Browse files
committed
Trim verbose comments
1 parent fb48e69 commit 52d65a7

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

.github/actions/file/src/index.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,10 @@ export default async function () {
109109
} else if (isRepeatedFiling(filing)) {
110110
const issue = new Issue(filing.issue)
111111
if (await isWontfixIssue(octokit, issue)) {
112-
// The developer intentionally closed this issue and labeled it
113-
// wontfix, so leave it closed instead of reopening it.
112+
// The developer intentionally closed this issue and labeled it 'wontfix', so leave it closed
114113
core.info(`Skipping reopen of issue labeled '${WONTFIX_LABEL}': ${filing.issue.url}`)
115114
} else {
116-
// Reopen the filing's issue (if necessary) and update the body with the latest finding
115+
// Reopen the filing's issue and update the body with the latest finding
117116
response = await reopenIssue(octokit, issue, filing.findings[0], repoWithOwner, screenshotRepo)
118117
filing.issue.state = 'reopened'
119118
}

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,6 @@ When the scanner files an issue for an accessibility finding and that same findi
154154

155155
To stop the scanner from reopening a closed issue, add the **`wontfix`** label to it. On its next run, the scanner sees the label and skips reopening the issue, leaving it closed.
156156

157-
> [!NOTE]
158-
> The `wontfix` label only affects _reopening_. If you remove the label later, the scanner resumes its normal behavior and will reopen the issue on the next run if the finding is still present.
159-
160157
---
161158

162159
## Configuring GitHub Copilot

0 commit comments

Comments
 (0)