Repository navigation
chore: Use slash tags for launchdarkly/gh-actions - #307
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 51059aa. Configure here.
| run: make start-contract-test-service-bg | ||
|
|
||
| - uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1.0.2 | ||
| - uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests/v1 |
There was a problem hiding this comment.
Slash action tags likely do not exist
High Severity
The new refs contract-tests/v1 and publish-pages/v1 do not match published tags in launchdarkly/gh-actions. Released tags and other LaunchDarkly SDKs use the dash form (contract-tests-v1, publish-pages-v1). GitHub Actions will fail to resolve these steps if the slash tags are missing, breaking CI and docs publishing.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 51059aa. 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.




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 two composite GitHub Actions to pin
launchdarkly/gh-actionsusing major-version slash tags (<action>/vN) instead of fixed dash tags (<action>-vX.Y.Z).In the shared CI composite action,
contract-testsnow references@contract-tests/v1(previously@contract-tests-v1.0.2). In the publish-docs composite action,publish-pagesnow references@publish-pages/v1(previously@publish-pages-v1.0.2). Step inputs and behavior are unchanged—only the action refs differ so Dependabot can bump these actions independently.Reviewed by Cursor Bugbot for commit 51059aa. Bugbot is set up for automated code reviews on this repo. Configure here.