Skip to content

chore: Use slash tags for launchdarkly/gh-actions - #24

Merged
jsonbailey merged 2 commits into
mainfrom
jb/gh-actions-slash-tags
Nov 23, 2026
Merged

jsonbailey merged 2 commits into
mainfrom
jb/gh-actions-slash-tags

Conversation

@jsonbailey

@jsonbailey jsonbailey commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Switches launchdarkly/gh-actions action 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 the verify-hello-app step in CI to reference launchdarkly/gh-actions with the major-version slash tag @verify-hello-app/v2 instead of the old dash tag @verify-hello-app-v2.0.2.

This aligns with how that repo publishes refs so Dependabot can bump the action independently; step inputs (use_server_key, role_arn, command) are unchanged.

Reviewed by Cursor Bugbot for commit 27eee1d. Bugbot is set up for automated code reviews on this repo. Configure here.

Co-Authored-By: Jason Bailey <jbailey@launchdarkly.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot added the devin-pr Pull request created by Devin AI label Nov 23, 2026
Co-Authored-By: Jason Bailey <jbailey@launchdarkly.com>
@devin-ai-integration
devin-ai-integration Bot marked this pull request as ready for review November 23, 2026 15:20
@devin-ai-integration
devin-ai-integration Bot requested a review from a team as a code owner November 23, 2026 15:20
Comment thread .github/workflows/ci.yml
run: poetry install

- uses: launchdarkly/gh-actions/actions/verify-hello-app@verify-hello-app-v2.0.2
- uses: launchdarkly/gh-actions/actions/verify-hello-app@verify-hello-app/v2

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔒 Agentic Security Review

Severity: MEDIUM

Description: CI replaces the immutable verify-hello-app patch tag with the floating major tag verify-hello-app/v2. That tag is force-updated by launchdarkly/gh-actions release automation, and this job still grants id-token: write and passes vars.AWS_ROLE_ARN with use_server_key: true, so a later move of the tag runs new action code that can assume the role and read the hello-app server SDK key.

Impact: Previously this repo ran a fixed patch tag (verify-hello-app-v2.0.2, currently commit 2636f140d1cf8f9bb460299b18b64bbcb1080ea5) and would only pick up a newer action through a reviewed workflow or Dependabot pin bump. verify-hello-app/v2 is a lightweight tag that launchdarkly/gh-actions release-please force-pushes on every component release (git tag -f and git push -f of component/vMAJOR). The next push to main in this repo then executes that unreviewed commit in build-and-run. The composite action calls release-secrets with aws_assume_role set to the supplied role ARN; release-secrets uses aws-actions/configure-aws-credentials, which needs this job's OIDC token, and loads SSM /sdk/common/hello-apps/server-key into LAUNCHDARKLY_SDK_KEY (and the boolean flag key). Anyone who can publish a verify-hello-app release, or otherwise move that tag, therefore gets this repository's GitHub OIDC identity and the hello-app server SDK key without a change in this repo. That is a credentialed supply-chain boundary between team-sdk (gh-actions CODEOWNERS) and this repo, not a public anonymous trigger.

Remediation: Keep the slash tag separator, but pin this credentialed step to an immutable release tag such as launchdarkly/gh-actions/actions/verify-hello-app@verify-hello-app/v2.0.2 or to commit 2636f140d1cf8f9bb460299b18b64bbcb1080ea5. Let Dependabot or a reviewed workflow bump that full version. Do not consume the force-pushed verify-hello-app/v2 major tag in a job with id-token: write.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ 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 27eee1d. Configure here.

Comment thread .github/workflows/ci.yml
run: poetry install

- uses: launchdarkly/gh-actions/actions/verify-hello-app@verify-hello-app-v2.0.2
- uses: launchdarkly/gh-actions/actions/verify-hello-app@verify-hello-app/v2

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Action version tag may not exist

High Severity

The workflow pins verify-hello-app to verify-hello-app/v2. Published launchdarkly/gh-actions tags and docs still use dash-style names, and that slash ref does not appear among them. GitHub Actions cannot resolve a missing ref, so this CI job fails before the sample app runs.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 27eee1d. Configure here.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Written by Devin

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: medium. Not approved (SDK rule 3: only version-bump workflow changes may be approved; this retags verify-hello-app from a pinned patch to a floating slash major). Cursor Bugbot completed unsuccessfully with 1 unresolved high-severity finding, so human review is needed and no reviewers were assigned.

Open in Web View Automation 

Sent by Cursor Approval Agent: SDK - Pull Request Router and Approver

@jsonbailey
jsonbailey enabled auto-merge (squash) November 23, 2026 19:21
@jsonbailey
jsonbailey merged commit 3c92cd2 into main Nov 23, 2026
5 of 6 checks passed
@jsonbailey
jsonbailey deleted the jb/gh-actions-slash-tags branch November 23, 2026 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devin-pr Pull request created by Devin AI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants