Skip to content

feat: tag runners with github labels#5185

Open
edersonbrilhante wants to merge 1 commit into
mainfrom
add-github-labels-to-ec2-tags
Open

feat: tag runners with github labels#5185
edersonbrilhante wants to merge 1 commit into
mainfrom
add-github-labels-to-ec2-tags

Conversation

@edersonbrilhante

@edersonbrilhante edersonbrilhante commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Description

Adds EC2 tags for the GitHub runner labels registered through the JIT runner flow.

Now that dynamic labels are supported, runners created from the same multi-runner entry can register with different label sets. Before this change, AWS-side inspection only had the instance/runner identity, so checking the exact labels required going to GitHub.

The labels are taken from runnerConfig.data.runner.labels, so the EC2 tags reflect the labels GitHub registered for that runner. The instance create-tags policy was also updated to allow the new label tag keys.

Test Plan

Deploy the lambda, run workflow and check the new labels

Related Issues

None

@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@edersonbrilhante edersonbrilhante force-pushed the add-github-labels-to-ec2-tags branch 2 times, most recently from 86788b2 to 5801494 Compare June 25, 2026 13:15
@edersonbrilhante edersonbrilhante force-pushed the add-github-labels-to-ec2-tags branch from 5801494 to fe7d7d5 Compare June 25, 2026 13:18
@edersonbrilhante edersonbrilhante marked this pull request as ready for review June 25, 2026 13:18
@edersonbrilhante edersonbrilhante requested a review from a team as a code owner June 25, 2026 13:18
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