Skip to content

Github Action that uses unique-name-generator to create a random name that is output to GH Actions environment variables.

Notifications You must be signed in to change notification settings

TGPSKI/name-generator-node-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unique Name Generator Action

This action creates a random name and outputs it to Github Actions environment variables. unique-names-generator is used to generate the random names.

Inputs

separator

Required What separator to use. Default -.

length

Required How many words in the name. Default 2.

style

Required Name output case style. Default lowerCase.

Outputs

name

The generated random name output.

Example usage

uses: TGPSKI/name-generator-node-action@v2
uses: TGPSKI/name-generator-node-action@v2
id: generator
with:
  separator: '_'
  length: '4'
  style: 'upperCase'

name: test generator output
run: echo "latest,${{ steps.generator.outputs.name }}"

About

Github Action that uses unique-name-generator to create a random name that is output to GH Actions environment variables.

Resources

Stars

Watchers

Forks

Packages

No packages published