Skip to content

feat: add environment-name input for v2 runs#85

Merged
mathnogueira merged 1 commit into
masterfrom
feat/environment-name-input
Mar 1, 2026
Merged

feat: add environment-name input for v2 runs#85
mathnogueira merged 1 commit into
masterfrom
feat/environment-name-input

Conversation

@mathnogueira

Copy link
Copy Markdown
Contributor

Summary

  • Adds environment-name input for v2 (Playwright) runs, allowing users to select a named environment (e.g. "Staging", "Production") from the GitHub Action
  • The name is passed as environmentName in the API request body, which the server resolves to load the corresponding environment variables
  • env-overrides still take precedence over environment variables from the selected environment
  • Updates README with the new input in the v2 inputs table and example workflow

Test plan

  • Run the action with environment-name: Staging and verify the correct environment variables are loaded
  • Run the action without environment-name and verify it falls back to the project's default environment
  • Run with both environment-name and env-overrides and verify overrides take precedence
  • Run with an invalid environment name and verify a clear error is returned

🤖 Generated with Claude Code

Allows users to select a named environment (e.g. "Staging",
"Production") when starting a v2 Playwright run via the GitHub Action.
The environment name is passed as `environmentName` in the API request
body, which resolves it server-side to load the corresponding variables.
`env-overrides` still take precedence over environment variables.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mathnogueira mathnogueira force-pushed the feat/environment-name-input branch from a24d2d5 to 6fb3915 Compare March 1, 2026 23:31
@github-actions

github-actions Bot commented Mar 1, 2026

Copy link
Copy Markdown

Stably Runner - Playwright Project 'CI'

Test Run Result: 🟢 Success (2/2 tests passed) [dashboard]


This comment was generated from stably-runner-action

@github-actions

github-actions Bot commented Mar 1, 2026

Copy link
Copy Markdown

Stably Runner - Test Suite - 'GitHub CI'

Test Suite Run Result: 🟢 Success (1/1 tests passed) [dashboard]


This comment was generated from stably-runner-action

@mathnogueira mathnogueira merged commit 6f8c0ef into master Mar 1, 2026
5 checks passed
@mathnogueira mathnogueira deleted the feat/environment-name-input branch March 1, 2026 23:33
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