wads.scripts.set_env_vars¶
Set Environment Variables from GitHub Secrets
This script reads the CI configuration from pyproject.toml and sets environment variables from GitHub Secrets, validating required variables.
Usage:
python -m wads.scripts.set_env_vars [path_to_pyproject]
- Environment:
SECRETS_CONTEXT - JSON string of all GitHub Secrets GITHUB_ENV - Path to GitHub Actions environment file GITHUB_STEP_SUMMARY - Path to GitHub Actions step summary file
Functions
|
Main entry point. |
|
Set environment variables from GitHub Secrets based on CI config. |