Index GitHub Actions uses across workflows in USES.md#49
Merged
JaredHatfield merged 11 commits intomainfrom Feb 11, 2026
Merged
Index GitHub Actions uses across workflows in USES.md#49JaredHatfield merged 11 commits intomainfrom
JaredHatfield merged 11 commits intomainfrom
Conversation
Co-authored-by: JaredHatfield <208119+JaredHatfield@users.noreply.github.com>
Co-authored-by: JaredHatfield <208119+JaredHatfield@users.noreply.github.com>
Co-authored-by: JaredHatfield <208119+JaredHatfield@users.noreply.github.com>
Co-authored-by: JaredHatfield <208119+JaredHatfield@users.noreply.github.com>
Co-authored-by: JaredHatfield <208119+JaredHatfield@users.noreply.github.com>
Co-authored-by: JaredHatfield <208119+JaredHatfield@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add USAGE.md file for indexing unique GitHub actions
Index GitHub Actions uses across workflows in USES.md
Feb 11, 2026
Member
|
Combine the Go code into a single file for main.go Additionally when scanning all of the repositories make sure you skip archived repositories. |
Co-authored-by: JaredHatfield <208119+JaredHatfield@users.noreply.github.com>
Contributor
Author
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #49 +/- ##
======================================
Coverage 0.00% 0.00%
======================================
Files 1 1
Lines 628 749 +121
======================================
- Misses 628 749 +121 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Adds automatic indexing of GitHub Actions
usesstatements across all workflow files. Generates aUSES.mdin thedbfolder that aggregates action usage by name and version, enabling version consistency tracking and coordinated updates across the organization.Changes
Data Structures
ActionUse: Captures action name, version (with inline comments), and source workflowActionUsesIndex: Aggregates uses by action → version → workflow referencesWorkflowReference: Links to specific workflow files using each versionParsing
extractActionUses(): Parses workflow YAML to extract allusesstatements from stepsparseUsesString(): Extracts action name and version, preserving inline comments (e.g.,de0fac2e...83dd # v6.0.2)Generation
generateUSESMarkdown(): Creates USES.md with:Integration
auditGitHubActions()to collect uses during workflow processingCode Organization
main_test.gofile with organized sections for better maintainabilityExample Output
See
USES_EXAMPLE.mdfor full sample output.💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.