a-b/GHA Shepherd
Manage Shepherd environments
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Jun 7, 2024
- License
- None
Pinned Snippet
uses: a-b/gha-shepherd@d26f2d0597e950b5aaea786f8f6e018d6c08b1f3 # 0.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| debug | Debug logging | — | 0 |
| api_token | Shepherd API Token | yes | — |
| api_endpoint | Shepherd API Endpoint | yes | — |
| command | Supports shell (default), create, get, delete | yes | — |
| run | Execute this shell script within authenticated shepherd context | — | — |
| env_id | If no environment id provided, claim new one | — | — |
| namespace | Shepherd Namespace | — | tas-devex |
| pool_name | Shepherd Pool Name | — | — |
| pool_namespace | Shepherd Pool Namespace | — | official |
| duration | Duration of the env lease | — | 4h |
| description | Description of the new lease | — | GHA: ${{ github.repository }} |
| env_file_path | Location of the JSON env file | — | ./lease_env.json |
Outputs
| name | description |
|---|---|
| env_id | Lease ID produced by create command |