https://github.com/devopsmakers/pr-name-generator-action
A Github action to create consistent names for PR based environments
https://github.com/devopsmakers/pr-name-generator-action
Last synced: 6 months ago
JSON representation
A Github action to create consistent names for PR based environments
- Host: GitHub
- URL: https://github.com/devopsmakers/pr-name-generator-action
- Owner: devopsmakers
- License: mit
- Created: 2022-03-30T13:09:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-13T11:15:53.000Z (almost 3 years ago)
- Last Synced: 2024-03-15T02:34:36.799Z (almost 2 years ago)
- Language: JavaScript
- Size: 549 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pr-name-generator-action
A Github action to create consistent and unique names for PR based environments.
Uses [unique-names-generator](https://github.com/andreasonny83/unique-names-generator)
and a "seed" based on the repo owner, name and issue (PR) number to generate a
unique and consistent name. This makes it easy to deploy and clean up ephemaral
environments on PR open, close or merge without needing to keep track of a
non-deterministic unique name.
## Inputs
None.
## Outputs
### `name`
The generated unique and consistent name
## Example Usage
See:
- [example_deploy.yml](https://github.com/devopsmakers/pr-name-generator-action/blob/main/.github/workflows/example_deploy.yml)
- [example_destroy.yml](https://github.com/devopsmakers/pr-name-generator-action/blob/main/.github/workflows/example_destroy.yml)
- [PR #6](https://github.com/devopsmakers/pr-name-generator-action/pull/6)