ambimax/Prepare environment
Prepare some commonly used variables.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Dec 7, 2021
- License
- None
- Runtime
- Deprecated runtime
Pinned Snippet
uses: ambimax/action-prepare-env@df384e1c69bfc82a227592a1f8be8510ff7eefe1 # v1.1.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| event_name | The GitHub event name | no | ${{ github.event_name }} |
| ref_type | The GitHub ref type | no | ${{ github.event.ref_type }} |
| ref | The GitHub ref | no | ${{ github.event.ref }} |
Outputs
| name | description |
|---|---|
| branch_name | The name of the current branch. |
| escaped_branch_name | An escaped version of `branch_name` that can be safely used to construct deployment names. |