Visitar URL original
Add code.json file and workflow by DinneK · Pull Request #6590 · uswds/uswds · GitHub
Skip to content

Add code.json file and workflow - #6590

Merged
annepetersen merged 2 commits into
developfrom
add-code-json-dk
Mar 27, 2026
Merged

annepetersen merged 2 commits into
developfrom
add-code-json-dk

Conversation

@DinneK

@DinneK DinneK commented Mar 26, 2026 •

Copy link
Copy Markdown
Contributor

USWDS - Repo: Add code.json file and automated update workflow for SHARE IT Act compliance

Summary

Added a code.json file to comply with OSPO's Tier 0 standards to supporting compliance with the SHARE IT Act's code indexing requirements.

Breaking change

This is not a breaking change.

Related issue

This is not related to an issue. This is related to compliance.

Related pull requests

No related pull requests at this time.

Preview link

Preview link: N/A

Problem statement

The SHARE IT Act requires that all government code be indexed. Previously, this repository lacked a code.json file, meaning it did not meet OSPO's Tier 0 standards and was not compliant with federal code indexing requirements. Without this file, the project could not be properly cataloged or discovered through official government code inventories.

Solution

A code.json file was added to the repository root to establish Tier 0 compliance with OSPO standards. The file is structured to allow easy tier upgrades as time and resources permit.

Major changes

  • Added code.json to the repository root to meet OSPO Tier 0 standards.
  • The code.json structure supports incremental tier upgrades as needed.

Testing and review

  1. Verify that the code.json file is present in the repository root.
  2. Confirm that no existing functionality is affected by these additions.

@annepetersen annepetersen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

looks like code.json validation fails due to this still being connected to CMS sources: could you correct?

@DinneK DinneK left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Removed the CMS specific update-codejson.yml action. We are working on a generic version and will add when it is ready. The code.json file still brings this repo up to compliance standards.

@DinneK
DinneK requested a review from annepetersen March 26, 2026 19:34
@annepetersen

annepetersen commented Mar 27, 2026 •

Copy link
Copy Markdown
Contributor

@DinneK Last requirement here is that your commit have a verified signature. Once that's fixed, we should be good, and thank you!

@DinneK

DinneK commented Mar 27, 2026

Copy link
Copy Markdown
Contributor Author

Apologies! I should now be verified on all commits.

@annepetersen annepetersen added Is: Internal Internal issue Status: Accepted Legacy workflow marker. labels Mar 27, 2026
@annepetersen
annepetersen merged commit 099294e into develop Mar 27, 2026
6 checks passed
@annepetersen
annepetersen deleted the add-code-json-dk branch March 27, 2026 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Is: Internal Internal issue Status: Accepted Legacy workflow marker.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants