Decouple Pa11y PR commenting from forked pull_request token permissions#122
Merged
Conversation
Agent-Logs-Url: https://github.com/CivicTechTO/civictech.ca/sessions/2a3ee380-6b3d-47e8-bb52-3aa6e9ffe680 Co-authored-by: alexwolson <8996640+alexwolson@users.noreply.github.com>
Agent-Logs-Url: https://github.com/CivicTechTO/civictech.ca/sessions/2a3ee380-6b3d-47e8-bb52-3aa6e9ffe680 Co-authored-by: alexwolson <8996640+alexwolson@users.noreply.github.com>
Agent-Logs-Url: https://github.com/CivicTechTO/civictech.ca/sessions/2a3ee380-6b3d-47e8-bb52-3aa6e9ffe680 Co-authored-by: alexwolson <8996640+alexwolson@users.noreply.github.com>
Agent-Logs-Url: https://github.com/CivicTechTO/civictech.ca/sessions/2a3ee380-6b3d-47e8-bb52-3aa6e9ffe680 Co-authored-by: alexwolson <8996640+alexwolson@users.noreply.github.com>
Agent-Logs-Url: https://github.com/CivicTechTO/civictech.ca/sessions/2a3ee380-6b3d-47e8-bb52-3aa6e9ffe680 Co-authored-by: alexwolson <8996640+alexwolson@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix CI workflow to comment on PRs from forks
Decouple Pa11y PR commenting from forked May 17, 2026
pull_request token permissions
alexwolson
approved these changes
May 17, 2026
Contributor
Pa11y Accessibility Report✅ All pages passed — 0 warning(s) (WCAG2AA) Homepage✅ No issues found. Event✅ No issues found. Project✅ No issues found. Person✅ No issues found. Organization✅ No issues found. Venue✅ No issues found. Resource✅ No issues found. Tag✅ No issues found. Category✅ No issues found. |
alexwolson
marked this pull request as ready for review
May 17, 2026 15:30
Khasir
approved these changes
May 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fork-origin PRs were failing in CI because the accessibility job tried to post issue comments using the
pull_requesttoken, which is read-only for forks. This change keeps accessibility checks in CI and moves fork comment publishing to a privileged, safe follow-up workflow driven by CI artifacts.Main CI behavior (unchanged intent, explicit boundary)
ci.ymlpa11y-reportas an artifactNew fork-safe comment workflow
comment-pa11y-report.ymltriggered byworkflow_runon completedCIissues: write) without checking out PR code<!-- pa11y-report -->)Hardening and operability