https://github.com/scientanl/github-actions-env-toolkit
Scienta's Github Actions env variables toolkit
https://github.com/scientanl/github-actions-env-toolkit
Last synced: 11 months ago
JSON representation
Scienta's Github Actions env variables toolkit
- Host: GitHub
- URL: https://github.com/scientanl/github-actions-env-toolkit
- Owner: ScientaNL
- License: mit
- Created: 2020-11-27T12:55:56.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-05-19T12:27:07.000Z (about 1 year ago)
- Last Synced: 2025-06-01T12:33:21.460Z (about 1 year ago)
- Language: JavaScript
- Size: 330 KB
- Stars: 0
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Github Actions Environment variables Toolkit
Scienta's Github Actions `env variables` toolkit
## Exposed environment variables
| Environment Variable | Description | Example |
|------------------------|-----------------------------------------------------------------|---------------------------|
| `GITHUB_REF_NAME` | Name of the branch or tag. | `feature-develop/bug-fix` |
| `GITHUB_REF_NAME_SLUG` | Sluggified version of the branch or tag names. Dot is allowed. | `feature-develop-bug-fix` |
| `GITHUB_SHA_SHORT` | First eight characters of the full commit sha. | `f0425b57` |
# Build
Start the docker container and login:
```
docker-compose up -d --force-recreate --remove-orphans
docker exec -ti github-actions-env-toolkit-builder bash
```
Install dependencies
```
npm install --dev
```
# Credits
Based on [FranzDiebold/github-env-vars-action](https://github.com/FranzDiebold/github-env-vars-action).