Repository navigation
chore: Use slash tags for launchdarkly/gh-actions - #77
Conversation
Co-Authored-By: Jason Bailey <jbailey@launchdarkly.com>
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
Co-Authored-By: Jason Bailey <jbailey@launchdarkly.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit e4b3e8f. Configure here.
| java_version: '11' | ||
|
|
||
| - uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.2.1 | ||
| - uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets/v1 |
There was a problem hiding this comment.
Action refs use nonexistent slash tags
High Severity
The workflows now resolve launchdarkly/gh-actions at publish-pages/v1 and release-secrets/v1, but that repo versions actions with dash tags such as publish-pages-v1.0.4 and release-secrets-v1. GitHub Actions will not find these refs, so secret loading, Maven publishing, and docs publishing will fail.
Additional Locations (2)
Reviewed by Cursor Bugbot for commit e4b3e8f. Configure here.
There was a problem hiding this comment.
False positive: these slash tags are published in launchdarkly/gh-actions (git ls-remote --tags https://github.com/launchdarkly/gh-actions lists contract-tests/v1, publish-pages/v1, release-secrets/v1, sign-dlls/v1, persistent-stores/v0, verify-hello-app/v2, etc.), and this PR's CI jobs resolve them. See launchdarkly/gh-actions#137.
There was a problem hiding this comment.
Risk: medium. Not approved: Cursor Bugbot completed unsuccessfully with 1 unresolved high-severity finding that needs human review. SDK rule 3 allows existing-action tag updates, but human review is needed and no reviewers were assigned.
Sent by Cursor Approval Agent: SDK - Pull Request Router and Approver




Summary
Switches
launchdarkly/gh-actionsaction refs from dash tags (<action>-vX.Y.Z) to the major-version slash tags (<action>/vN). Dependabot cannot update each action on its own with dash tags; see launchdarkly/gh-actions#137.Link to Devin session: https://app.devin.ai/sessions/266e8012a1a349ea90b96acd22b2b0ef
Open in Devin Desktop: https://app.devin.ai/desktop/session/266e8012a1a349ea90b96acd22b2b0ef?variant=devin
Requested by: @jsonbailey
Note
Overview
Updates publish and publish-docs workflows to pin shared actions via major-version slash refs (
publish-pages/v1,release-secrets/v1) instead of patch-level dash tags (publish-pages-v1.0.1,release-secrets-v1.2.1).Publish still fetches signing secrets, publishes the package, and pushes Javadoc to GitHub Pages—the only difference is which action revision each step resolves to. Same for the manual docs workflow.
Reviewed by Cursor Bugbot for commit e4b3e8f. Bugbot is set up for automated code reviews on this repo. Configure here.