Skip to content

Pass untrusted values to release workflows via env - #87

Merged
tekinalper merged 1 commit into
developfrom
fix/ci-workflow-injection
Oct 20, 2026
Merged

tekinalper merged 1 commit into
developfrom
fix/ci-workflow-injection

Conversation

@tekinalper

Copy link
Copy Markdown
Collaborator

What it does

This pull request stops interpolating github.event.pull_request.title and github.event.client_payload.version directly into run: scripts in tag-on-merge.yml and update-native-sdk.yml. They're now passed via env:, and the dispatch version is validated as X.Y.Z before use.

How to test it

  1. Merge a Release X.Y.Z PR into main → tag is created as before
  2. Next native SDK release dispatch → update PR is opened as before

Acceptance criteria

  • No ${{ github.event.* }} expressions inside run: blocks
  • Release tagging and native SDK update PRs keep working

Link to ticket

N/A — external security report

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tekinalper

Copy link
Copy Markdown
Collaborator Author

Reviewed & validated

@tekinalper
tekinalper merged commit 608ff78 into develop Oct 20, 2026
2 checks passed
@tekinalper
tekinalper deleted the fix/ci-workflow-injection branch October 20, 2026 13:50
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.

1 participant