https://github.com/joellefkowitz/random-env
GitHub action to set global environment variables to random values.
https://github.com/joellefkowitz/random-env
actions environment github random
Last synced: 6 months ago
JSON representation
GitHub action to set global environment variables to random values.
- Host: GitHub
- URL: https://github.com/joellefkowitz/random-env
- Owner: JoelLefkowitz
- License: mit
- Created: 2021-07-30T22:29:40.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-01T15:43:37.000Z (almost 2 years ago)
- Last Synced: 2024-10-05T21:41:40.370Z (over 1 year ago)
- Topics: actions, environment, github, random
- Language: TypeScript
- Homepage:
- Size: 606 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Random env
GitHub action to set global environment variables to random values.






## Installing
```bash
npm install random-env
```
## Documentation
Documentation and more detailed examples are hosted on [Github Pages](https://joellefkowitz.github.io/random-env).
## Usage
```yml
steps:
- name: Set random environment variables
uses: joellefkowitz/random-env@v1.0.0
with:
names: |
TEST_EMAIL
TEST_PASSWORD
- name: Print environment variables
run: printenv
```
Example output:
```sh
TEST_EMAIL=9102634d826b733e828a19317250337aw
TEST_PASSWORD=943b9f5e0a0b3d9acbfe05779dfab69f
```
## Tooling
### Dependencies
To install dependencies:
```bash
yarn install
```
### Tests
To run tests:
```bash
yarn test
```
### Documentation
To generate the documentation locally:
```bash
yarn docs
```
### Linters
To run linters:
```bash
yarn lint
```
### Formatters
To run formatters:
```bash
yarn format
```
## Contributing
Please read this repository's [Code of Conduct](CODE_OF_CONDUCT.md) which outlines our collaboration standards and the [Changelog](CHANGELOG.md) for details on breaking changes that have been made.
This repository adheres to semantic versioning standards. For more information on semantic versioning visit [SemVer](https://semver.org).
Bump2version is used to version and tag changes. For example:
```bash
bump2version patch
```
### Contributors
- [Joel Lefkowitz](https://github.com/joellefkowitz) - Initial work
## Remarks
Lots of love to the open source community!