Skip to content

refactor: Streamline GitHub Actions input parsing#16

Merged
Hordunlarmy merged 1 commit into
mainfrom
dev
Jan 29, 2026
Merged

refactor: Streamline GitHub Actions input parsing#16
Hordunlarmy merged 1 commit into
mainfrom
dev

Conversation

@Hordunlarmy
Copy link
Copy Markdown
Member

This pull request improves how configuration inputs are handled by the GitHub Action and includes some minor internal refactoring for clarity. The main change is that the action’s script now reads inputs directly using the standard INPUT_ environment variables, eliminating the need for explicit environment variable mappings in action.yml. Additionally, a variable in the environment merging logic was renamed for clarity, with no impact on user-facing behavior.

Configuration Input Handling:

  • The action script (src/config.py) now retrieves inputs directly from environment variables using the INPUT_ prefix (e.g., INPUT_GIT_URL), simplifying input parsing and making it more robust. This also means explicit environment variable mappings were removed from action.yml. [1] [2]

Internal Refactoring:

  • Renamed the internal variable env_blob_key to comp_env_key in the environment merging logic for improved clarity and maintainability, with no change to behavior (src/env_manager.py).

Documentation:

  • Added a changelog entry summarizing the improved input handling and internal refactoring.

@Hordunlarmy Hordunlarmy merged commit 03c8e0a into main Jan 29, 2026
5 checks passed
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