Skip to content

ci: Publish from a protected environment and pin actions - #92

Merged
khvn26 merged 3 commits into
mainfrom
ci/release-environment
Dec 4, 2026
Merged

khvn26 merged 3 commits into
mainfrom
ci/release-environment

Conversation

@khvn26

@khvn26 khvn26 commented Dec 4, 2026 •

Copy link
Copy Markdown
Member
  • Publishing now runs in the hex environment. Releases wait for approval from flagsmith-maintainers (no self-approval), and only v* tags can deploy to it.
  • Pins the remaining actions to commit SHAs and the publish-hex base image by digest. Renovate keeps them up to date.

The job still uses the repository secrets (HEX_API_KEY) until scoped replacements are added to the hex environment, which take precedence over repository secrets with the same names. Then the repository secrets get deleted.

Contributes to ENG-1146

@khvn26
khvn26 requested a review from a team as a code owner December 4, 2026 14:24
@khvn26
khvn26 requested review from emyller and removed request for a team December 4, 2026 14:24

@cubic-dev-ai cubic-dev-ai 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.

All reported issues were addressed across 4 files

Reply with feedback, questions, or to request a fix.

Turn on auto-fix | Re-trigger cubic

Comment thread .github/workflows/publish.yml Resolved
Comment thread .github/workflows/sdk-spec.yml Resolved
@codspeed

codspeed Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 12 untouched benchmarks


Comparing ci/release-environment (58067d8) with main (c9a7c02)

Open in CodSpeed

@cubic-dev-ai cubic-dev-ai 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.

0 issues found across 1 file (changes from recent commits).

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Requires human review: Auto-approval blocked by 1 unresolved issue from previous reviews.

Turn on auto-fix | Re-trigger cubic

@khvn26
khvn26 merged commit bc4fe40 into main Dec 4, 2026
6 checks passed
@khvn26
khvn26 deleted the ci/release-environment branch December 4, 2026 15:40
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.

2 participants