Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
62f2bb4
fix: Fix escaping and parsing issues in the v1-to-v2 cache migration …
smockle Oct 12, 2025
f58034c
fix: Prevent duplicate issues from `jq` errors in the “normalize_cach…
smockle Oct 12, 2025
7c3515d
fix: Output compact (one-line) JSON
smockle Oct 12, 2025
69cb82c
fix: Output compact (one-line) JSON (#11)
smockle Oct 12, 2025
4e07ed4
fix: Read the 'cached_filings' input, not 'cached_results'
smockle Oct 13, 2025
bdf0e23
fix(File): Read the `cached_filings` input, not `cached_results` (#12)
smockle Oct 13, 2025
d8d4636
Initial plan
Copilot Oct 15, 2025
dfa77d4
Update main branch test.yml to delete PR branches during cleanup
Copilot Oct 15, 2025
c549705
Simplify PR branch deletion by using URL directly with gh pr view
Copilot Oct 15, 2025
0929417
Address PR feedback: move branch extraction after PR close, use env v…
Copilot Oct 15, 2025
cd8d555
Update .github/workflows/test.yml
smockle Oct 15, 2025
945f8d9
Update .github/workflows/test.yml
smockle Oct 15, 2025
8f459be
Use gh api instead of git push for better authentication context
Copilot Oct 15, 2025
fe49884
chore: Delete `copilot/*` branches in E2E test workflow (#19)
smockle Oct 20, 2025
ecbd195
chore(deps-dev): Bump @types/node in /.github/actions/find
dependabot[bot] Oct 20, 2025
5acecf2
chore(deps): Bump playwright in /.github/actions/find
dependabot[bot] Oct 20, 2025
73ff911
chore(deps-dev): Bump @types/node in /.github/actions/file
dependabot[bot] Oct 20, 2025
3730e9d
chore(deps-dev): Bump @types/node from 24.7.1 to 24.9.0
dependabot[bot] Oct 20, 2025
b1274b7
chore(deps): Bump playwright in /.github/actions/auth
dependabot[bot] Oct 20, 2025
9b6be83
chore(deps-dev): Bump @types/node in /.github/actions/fix
dependabot[bot] Oct 20, 2025
0c07343
chore(deps): Bump puma from 7.0.4 to 7.1.0 in /sites/site-with-errors
dependabot[bot] Oct 20, 2025
b1c616a
chore(deps-dev): Bump @types/node from 24.7.1 to 24.9.0 (#28)
smockle Oct 20, 2025
ad859ed
chore(deps): Bump playwright from 1.56.0 to 1.56.1 in /.github/action…
smockle Oct 20, 2025
0942324
chore(deps-dev): Bump @types/node from 24.7.1 to 24.9.0 in /.github/a…
smockle Oct 20, 2025
d66061a
chore(deps): Bump playwright from 1.56.0 to 1.56.1 in /.github/action…
smockle Oct 20, 2025
f902c0d
chore(deps-dev): Bump @octokit/types from 15.0.0 to 15.0.1
dependabot[bot] Oct 20, 2025
208d2f6
chore(deps-dev): Bump @types/node in /.github/actions/auth
dependabot[bot] Oct 20, 2025
3a0a60f
chore(deps-dev): Bump @octokit/types from 15.0.0 to 15.0.1 (#29)
smockle Oct 21, 2025
02c7b99
fix(Find): Replace single quotes in the 'html' field because they bre…
smockle Oct 21, 2025
72124dc
fix(Find): Replace single quotes in Finding’s `html` field (#36)
smockle Oct 22, 2025
b2ce095
Add accessibility optimization link to README
cehfisher Oct 22, 2025
c8615ec
Add accessibility optimization link to README (#40)
cehfisher Oct 22, 2025
327e513
chore(deps): Bump puma from 7.0.4 to 7.1.0 in /sites/site-with-errors…
smockle Oct 23, 2025
5adcdf2
chore(deps-dev): Bump @types/node from 24.7.1 to 24.9.0 in /.github/a…
smockle Oct 23, 2025
d2ecdce
Merge branch 'main' into dependabot/npm_and_yarn/dot-github/actions/f…
smockle Oct 23, 2025
ae2c4c2
chore(deps-dev): Bump @types/node from 24.7.1 to 24.9.0 in /.github/a…
smockle Oct 23, 2025
282da36
Merge branch 'main' into dependabot/npm_and_yarn/dot-github/actions/f…
smockle Oct 23, 2025
e131966
chore(deps-dev): Bump @types/node from 24.7.1 to 24.9.0 in /.github/a…
smockle Oct 23, 2025
a64314c
Refine README for GitHub Copilot references
cehfisher Oct 23, 2025
f1100d7
Revise contributing guidelines for clarity and detail
cehfisher Oct 23, 2025
6d77d7e
Revise support guidelines and maintenance status
cehfisher Oct 23, 2025
eb704a7
Merge branch 'main' into latest-process-updates
cehfisher Oct 23, 2025
426f48f
Apply suggestions from code review
cehfisher Oct 23, 2025
50af96e
Latest process updates (#43)
cehfisher Oct 27, 2025
d9c52e9
chore(deps): Bump ruby/setup-ruby from 1.265.0 to 1.267.0
dependabot[bot] Oct 27, 2025
a731d0d
chore(deps-dev): Bump @types/node from 24.9.0 to 24.9.1
dependabot[bot] Oct 27, 2025
7082bed
chore(deps-dev): Bump @types/node in /.github/actions/fix
dependabot[bot] Oct 27, 2025
a7f12ac
chore(deps-dev): Bump @types/node in /.github/actions/find
dependabot[bot] Oct 27, 2025
c927ecc
chore(deps-dev): Bump @types/node in /.github/actions/file
dependabot[bot] Oct 27, 2025
57ba823
chore(deps): Bump @axe-core/playwright in /.github/actions/find
dependabot[bot] Oct 27, 2025
dbe2874
chore(deps-dev): Bump @types/node in /.github/actions/auth
dependabot[bot] Oct 28, 2025
cb3a7b4
fix: Set 'results' output’s value
smockle Oct 28, 2025
74a792e
fix: Set `results` output’s value (#54)
smockle Oct 28, 2025
d9a9369
chore: Group Dependabot updates
smockle Oct 28, 2025
4d230cc
chore(deps-dev): Bump @types/node from 24.9.0 to 24.9.1 in /.github/a…
smockle Oct 28, 2025
19c36ba
chore(deps-dev): Bump @types/node from 24.9.0 to 24.9.1 in /.github/a…
smockle Oct 28, 2025
1baeceb
chore(deps-dev): Bump @types/node from 24.9.0 to 24.9.1 in /.github/a…
smockle Oct 28, 2025
cdcdc9e
chore(deps-dev): Bump @types/node from 24.9.0 to 24.9.1 in /.github/a…
smockle Oct 28, 2025
8b4089c
chore(deps-dev): Bump @types/node from 24.9.0 to 24.9.1 (#46)
smockle Oct 28, 2025
26d6289
chore(deps): Bump ruby/setup-ruby from 1.265.0 to 1.267.0 (#45)
smockle Oct 29, 2025
385b78b
Merge branch 'main' into dependabot/npm_and_yarn/dot-github/actions/f…
smockle Oct 29, 2025
57e18e4
chore: Group Dependabot updates (#55)
smockle Oct 30, 2025
991a3ba
chore(deps-dev): Bump vitest from 3.2.4 to 4.0.5
dependabot[bot] Oct 30, 2025
ca4e9a0
feat: Log the actual page being scanned
smockle Oct 30, 2025
e879f9c
feat: Restore relative paths to sub-actions in composite actions’ 'us…
smockle Oct 30, 2025
96cab59
fix: Copy directory contents
smockle Oct 30, 2025
a69e694
fix: Create destination directory (it it doesn’t exist) before copyin…
smockle Oct 30, 2025
f7eb28c
tmp: Add logging
smockle Oct 30, 2025
7751aa6
tmp: Add logging
smockle Oct 30, 2025
81cd671
fix: Copy .github/actions directory contents
smockle Oct 30, 2025
3e6b80b
fix: Copy .github/actions directory contents
smockle Oct 30, 2025
2aaec76
tmp: Add logging
smockle Oct 30, 2025
ec368b7
fix: Copy .github/actions directory contents
smockle Oct 30, 2025
74e1464
fix: Use 'rsync -a' instead of 'cp -Rf' to avoid exiting 1 on 'src an…
smockle Oct 30, 2025
71f1a31
feat: Log the actual page being scanned (#58)
smockle Oct 30, 2025
d00fadd
chore(deps-dev): Bump vitest from 3.2.4 to 4.0.5 (#57)
smockle Oct 30, 2025
43e5a8f
Merge branch 'main' into dependabot/npm_and_yarn/dot-github/actions/f…
smockle Oct 30, 2025
db2b8f9
chore(deps): Bump the npm-minor-and-patch group across 5 directories …
dependabot[bot] Oct 30, 2025
472bf85
feat: Use relative paths to reference sub-actions in composite action…
smockle Oct 30, 2025
81ae702
fix: Ignore axe version when checking 'problemUrl', so axe version up…
smockle Oct 30, 2025
9793679
chore(deps): Bump @axe-core/playwright from 4.10.2 to 4.11.0 in /.git…
smockle Oct 30, 2025
5256a45
Merge branch 'main' into dependabot/npm_and_yarn/npm-minor-and-patch-…
smockle Oct 30, 2025
0541bcc
chore(deps): Bump the npm-minor-and-patch group across 5 directories …
smockle Oct 30, 2025
5f7a22d
fix: Find username fields labelled 'user name'
smockle Oct 30, 2025
ab56219
fix: Find username fields labelled 'user name' (#60)
smockle Oct 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions .github/actions/auth/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .github/actions/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"type": "module",
"dependencies": {
"@actions/core": "^1.11.1",
"playwright": "^1.56.0"
"playwright": "^1.56.1"
},
"devDependencies": {
"@types/node": "^24.7.1",
"@types/node": "^24.9.2",
"typescript": "^5.9.3"
}
}
2 changes: 1 addition & 1 deletion .github/actions/auth/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default async function () {
// If no login form is found, then either HTTP Basic auth succeeded, or the page does not require authentication.
core.info("Checking for login form");
const [usernameField, passwordField] = await Promise.all([
page.getByLabel(/username/i).first(),
page.getByLabel(/user ?name/i).first(),
page.getByLabel(/password/i).first(),
]);
const [usernameFieldExists, passwordFieldExists] = await Promise.all([
Expand Down
22 changes: 11 additions & 11 deletions .github/actions/file/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .github/actions/file/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@octokit/plugin-throttling": "^11.0.2"
},
"devDependencies": {
"@types/node": "^24.7.1",
"@types/node": "^24.9.2",
"typescript": "^5.9.3"
}
}
2 changes: 1 addition & 1 deletion .github/actions/file/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default async function () {
const repoWithOwner = core.getInput("repository", { required: true });
const token = core.getInput("token", { required: true });
const cachedFilings: (ResolvedFiling | RepeatedFiling)[] = JSON.parse(
core.getInput("cached_results", { required: false }) || "[]"
core.getInput("cached_filings", { required: false }) || "[]"
);
core.debug(`Input: 'findings: ${JSON.stringify(findings)}'`);
core.debug(`Input: 'repository: ${repoWithOwner}'`);
Expand Down
48 changes: 24 additions & 24 deletions .github/actions/find/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .github/actions/find/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
"type": "module",
"dependencies": {
"@actions/core": "^1.11.1",
"@axe-core/playwright": "^4.10.2",
"playwright": "^1.56.0"
"@axe-core/playwright": "^4.11.0",
"playwright": "^1.56.1"
},
"devDependencies": {
"@types/node": "^24.7.1",
"@types/node": "^24.9.2",
"typescript": "^5.9.3"
}
}
11 changes: 6 additions & 5 deletions .github/actions/find/src/findForUrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,20 @@ export async function findForUrl(url: string, authContext?: AuthContext): Promis
const context = await browser.newContext(contextOptions);
const page = await context.newPage();
await page.goto(url);
console.log(`Scanning ${page.url()}`);

let findings: Finding[] = [];
try {
const rawFindings = await new AxeBuilder({ page }).analyze();
findings = rawFindings.violations.map(violation => ({
scannerType: 'axe',
url,
html: violation.nodes[0].html,
problemShort: violation.help.toLowerCase().replace(/[']/g, '’'),
problemUrl: violation.helpUrl.replace(/[']/g, '’'),
html: violation.nodes[0].html.replace(/'/g, "'"),
problemShort: violation.help.toLowerCase().replace(/'/g, "'"),
problemUrl: violation.helpUrl.replace(/'/g, "'"),
Comment on lines +20 to +22
Copy link

Copilot AI Nov 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The apostrophe replacement is inconsistent across the codebase. Line 20-22 use ' while lines 24-25 also use ', but the diff shows a change from curly quotes (') to straight quotes ('). Consider creating a helper function to ensure consistent escaping across all string fields.

Copilot uses AI. Check for mistakes.
ruleId: violation.id,
solutionShort: violation.description.toLowerCase().replace(/[']/g, '’'),
solutionLong: violation.nodes[0].failureSummary?.replace(/[']/g, '’')
solutionShort: violation.description.toLowerCase().replace(/'/g, "'"),
solutionLong: violation.nodes[0].failureSummary?.replace(/'/g, "'")
}));
} catch (e) {
// do something with the error
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/find/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default async function () {

let findings = [];
for (const url of urls) {
core.info(`Scanning ${url}`);
core.info(`Preparing to scan ${url}`);
const findingsForUrl = await findForUrl(url, authContext);
if (findingsForUrl.length === 0) {
core.info(`No accessibility gaps were found on ${url}`);
Expand Down
22 changes: 11 additions & 11 deletions .github/actions/fix/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .github/actions/fix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@octokit/plugin-throttling": "^11.0.2"
},
"devDependencies": {
"@types/node": "^24.7.1",
"@types/node": "^24.9.2",
"typescript": "^5.9.3"
}
}
Loading