Skip to content

fix: enhance tag resolution to handle both lightweight and annotated tags #120

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 23, 2025

Conversation

joshjohanning
Copy link
Owner

Tag resolution improvements:

  • Updated resolve_sha_to_tag() in both gh-cli/get-actions-usage-in-organization.sh and gh-cli/get-actions-usage-in-repository.sh to fetch and match both lightweight and annotated tags when resolving SHAs.

Was seeing this when it should have resolved to tag v3.1.0

ActionsDesk/github-actions-allow-list-as-code-action@013d3b0b014f3a7656c5b0a28c00fe8c7e41b5e3 # sha not associated to tag

Output improvements:

  • Added alphabetical sorting to the final results in gh-cli/get-actions-usage-in-repository.sh for better readability.

@joshjohanning joshjohanning enabled auto-merge (squash) August 23, 2025 17:34
@joshjohanning joshjohanning merged commit 52e5382 into main Aug 23, 2025
6 checks passed
@joshjohanning joshjohanning deleted the fix-sha-lookup-in-actions-usage-scripts branch August 23, 2025 17:34
Copy link

📋 Lint Results

⚡ ./gh-cli scripts

✅ No issues found.

🔧 ./scripts scripts

✅ No issues found.

Lint results updated at Sat Aug 23 17:34:11 UTC 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant