Repository navigation
GSA-SHARE-IT repository migration preparation - #21
Merged
Merged
Conversation
sachin-panayil
requested review from
DinneK,
decause-gov and
natalialuzuriaga
October 14, 2026 20:59
decause-gov
approved these changes
Oct 15, 2026
decause-gov
left a comment
Contributor
There was a problem hiding this comment.
OK, there are a few URLs to fix throughout, and one or two edits in other docs, but, overall, this is exciting.
I think we should consider the branding/banners after getting this up and deployed, but for now, it can ship with some of the CMS-specific design/front-end as is.
LGTM +1 🚢
Collaborator
Author
|
yup, alot of the comments you made will be fixed via a patch PR once its gets ported over to GSA @decause-gov |
This was referenced Oct 15, 2026
Closed
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.
Problem
In preparation to migrate this repository to the GSA-SHARE-IT GitHub organization, we would like to ensure that all documentation is updated, code scanning warnings are resolved, and policies/processes of the repository are reflected accordingly.
Several policy files (CODE_OF_CONDUCT, CONTRIBUTING) were only inherited from the DSACMS org and would be lost after the transfer. code.json claimed
maturityModelTier: 3, but the repository only met Tier 0. The site also had an XSS issue, several results bugs, accessibility gaps, and confusing behavior when GitHub's API rate limit was reached.Solution
Code scanning and workflows
js/functionality-from-untrusted-sourcealert by removing the unused USWDS JavaScript bundle and adding an SRI hash to the USWDS stylesheetactions/missing-workflow-permissionsalert by specifying read permissions on theresolve-repolinter-jsonjobdependabot.ymlfor monthly GitHub Actions updatescontributors.ymlworkflow to keep the contributors list in COMMUNITY.md up to dateDocumentation (Tier 3)
.github/CODEOWNERS.mdhomepageURLto code.jsonSecurity and bug fixes
textContentinstead ofinnerHTMLso untrusted code.json values (e.g.name) can't inject HTML/scriptstype="button"to chip remove buttons so they can't submit the formRate limiting
UX and accessibility
<button>so it works with a keyboard<h1>for the page heading, fix the "Important links,,," aria-label, and fix the favicon typeResult
The repository is ready to be migrated! It meets Tier 3 repolinter requirements, has no open code scanning alerts, and no longer depends on policy files inherited from the DSACMS organization. The site is safer and more accessible, and it handles rate limits gracefully.
After the transfer to GSA-SHARE-IT:
REPOLINTER_AUTO_TOKENsecretTest Plan
Automated browser tests (headless Chrome with a mocked GitHub API) pass:
nameof<img src=x onerror=...>renders as text and does not executeAlso checked:
Maintainers List,Approvers List,Reviewers List). The repo-scaffolder template itself uses### Maintainers:,### Approvers:and### Reviewers:, so I kept its wording to match codejson-generator.To verify manually:
python3 -m http.server 8000and open http://localhost:8000DSACMSwith and without a GitHub token