This repository is currently being migrated. It's locked while the migration is in progress.
-
Notifications
You must be signed in to change notification settings - Fork 87
Automated Pattern Adherence Tracking System #5447
Merged
Merged
Changes from 36 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
8c42d4e
feat: add pattern metadata parser
humancompanion-usds 06af1a3
fix: improve error handling in pattern parser
humancompanion-usds e9451c3
feat: add pattern file discovery
humancompanion-usds 1520ee9
feat: add product directory integration
humancompanion-usds 7cded70
fix: improve robustness of product directory integration
humancompanion-usds 9359483
feat: add vets-website import analysis
humancompanion-usds 8bd0469
fix: address security vulnerability and improve robustness in import …
humancompanion-usds 5880968
feat: build pattern-to-forms mapping
humancompanion-usds 51b155d
fix: improve robustness and performance of pattern mapping
humancompanion-usds 58a0df9
feat: add report generation
humancompanion-usds 324ef49
perf: optimize report generation
humancompanion-usds 5129527
chore: add initial pattern adherence analysis results
humancompanion-usds a7118ed
feat: improve pattern detection and add local vets-website support
humancompanion-usds 34b0830
chore: update pattern adherence reports with accurate detection
humancompanion-usds e95fb36
feat: add special detection for Signature pattern (statementOfTruth)
humancompanion-usds 4e5eaef
feat: add GitHub Actions workflow for weekly pattern adherence tracking
humancompanion-usds 0469ec6
fix: handle inconsistent leading slashes in path extraction
humancompanion-usds 8fa03c4
docs: add comprehensive documentation for pattern adherence script
humancompanion-usds 015b737
security: prevent shell injection in GitHub API file fetching
humancompanion-usds 31fb004
fix: correct checkout parameter in workflow (depth -> fetch-depth)
humancompanion-usds d92dfac
fix: pass GITHUB_TOKEN for private repo access and use execFileSync
humancompanion-usds 1252b46
fix: use GH_TOKEN for gh CLI authentication in pattern adherence work…
humancompanion-usds 062f36d
fix: use unique branch names to avoid collisions on multiple runs
humancompanion-usds c311795
fix: remove pull_request triggers to prevent infinite loop
humancompanion-usds e865e1f
Update scripts/collect-pattern-adherence.js
humancompanion-usds 9edc7e1
fix: address Copilot security and code quality suggestions
humancompanion-usds 4a0ac8e
Merge branch 'main' into starts-form-pattern-adherence
humancompanion-usds 06abd64
Apply suggestion from @Copilot
humancompanion-usds 52d9cb9
fix: address Copilot review comments on pattern adherence PR
humancompanion-usds 4997277
fix: address second round of Copilot review comments
humancompanion-usds 24b950e
fix: revert pull_request trigger restoration on metrics-dashboard
humancompanion-usds 42371f7
Update docs/plans/2026-01-09-pattern-adherence-tracking.md
humancompanion-usds 0c3510b
Updated run of pattern adherence
humancompanion-usds 65d094a
fix: address third round of Copilot review comments
humancompanion-usds 680f9c8
Update scripts/README.md
humancompanion-usds 529d123
fix: address fourth round of Copilot review comments
humancompanion-usds 9c6278b
fix: address fifth round of Copilot review comments
humancompanion-usds 132defd
Merge branch 'main' into starts-form-pattern-adherence
humancompanion-usds File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,218 @@ | ||||||||||
| name: Update Pattern Adherence Tracking | ||||||||||
|
|
||||||||||
| on: | ||||||||||
| schedule: | ||||||||||
| # Run weekly on Mondays at 6 AM UTC (2 AM ET / 1 AM EDT) | ||||||||||
|
humancompanion-usds marked this conversation as resolved.
|
||||||||||
| - cron: '0 6 * * 1' | ||||||||||
| workflow_dispatch: | ||||||||||
| # Allow manual triggering for testing and development | ||||||||||
|
humancompanion-usds marked this conversation as resolved.
|
||||||||||
|
|
||||||||||
| jobs: | ||||||||||
| update-pattern-adherence: | ||||||||||
| runs-on: ubuntu-latest | ||||||||||
|
|
||||||||||
| # Skip if last commit was made by GitHub Action | ||||||||||
| if: | | ||||||||||
| github.event.head_commit.author.email != 'action@github.com' && | ||||||||||
| !contains(github.event.head_commit.message, '📊 Update pattern adherence data') | ||||||||||
|
|
||||||||||
|
Comment on lines
+14
to
+18
|
||||||||||
| # Skip if last commit was made by GitHub Action | |
| if: | | |
| github.event.head_commit.author.email != 'action@github.com' && | |
| !contains(github.event.head_commit.message, '📊 Update pattern adherence data') |
humancompanion-usds marked this conversation as resolved.
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.