Skip to content

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

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 CI workflow so release-secrets and verify-hello-app pin to slash-style major tags (release-secrets/v1, verify-hello-app/v2) instead of the old dash tags (release-secrets-v1.2.1, verify-hello-app-v2.0.2). Step inputs and commands are unchanged; only the action refs move to the format that supports per-action Dependabot updates.

Reviewed by Cursor Bugbot for commit 3d9f39f. 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

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

@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 (rule 3: Approve only allowed workflow changes). This retags existing launchdarkly/gh-actions refs from pinned dash tags to floating slash major tags rather than a version bump, 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

Comment thread .github/workflows/ci.yml
- run: ./gradlew assemble

- uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.2.1
- uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets/v1

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: build-and-run now executes launchdarkly/gh-actions at the moving tags release-secrets/v1 and verify-hello-app/v2. Those tags are force-updated by that repo's release workflow and are not immutable releases. The job grants id-token: write, has no environment approval, and passes vars.AWS_ROLE_ARN plus the hello-app SSM parameter names, so whatever commit those tags point at runs with this repository's OIDC identity and can assume the role and read the server SDK key and flag key without a reviewed pin bump in this repo.

Impact: A principal who can push main or force-update tags in launchdarkly/gh-actions can change the only steps that mint this workflow's OIDC token and call AssumeRoleWithWebIdentity on vars.AWS_ROLE_ARN. The next schedule, push to main or feat/**, or same-repo pull_request then runs that code and can export /sdk/common/hello-apps/server-key and boolean-flag-key. The previous uses were immutable patch releases, so this removes the consumer-repo review gate before credentialed execution. Fork pull_request runs are not the path; tag update rights on gh-actions are.

Remediation: Pin both uses entries to full commit SHAs (the previous immutable patch tags are the alternative reviewed pin) and bump them only through a reviewed workflow change. If major-line tracking stays, keep those tags limited to a protected release identity and keep the AWS role trust restricted to this repository's workflow subject, so a force-push of release-secrets/v1 or verify-hello-app/v2 cannot assume vars.AWS_ROLE_ARN.

@jsonbailey
jsonbailey enabled auto-merge (squash) November 23, 2026 19:15
@jsonbailey
jsonbailey merged commit 90ff109 into main Nov 23, 2026
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants