Skip to content

bossOfCode/generate-uuid

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

81 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generate UUID

Generates a random UUID using the uuid module in python.

test test2 test for v1.1

Inputs

  • version - REQIURED - Version of UUID to generate. Versions are 1, 3, 4, 5, and 7.

Note: Version 1 may pose a safety risk because it uses your network info.

  • namespace - optional - namespace of the UUID. Can be DNS, URL, OID, or X500.

  • name - optional - string that will be used to create the UUID.

Outputs

  • uuid - The generated UUID
  • safe - The safeness of the UUID. safe means the UUID was generated by the platform in a multiprocessing-safe way, unsafe means the UUID was not generated in a multiprocessing-safe way, and unknown means the platform did not provide information on whether the UUID was generated safely or not. Source: [1]

Usage

- uses: actions/[email protected]
- uses: actions/[email protected]
  with:
    python-version: 3.12.5 #any version above 3.9 will do
- uses: bossOfCode/generate-uuid@v1 #Use current version
  with: 
    - version: 5 #v1, 3, 4, 5, and 7 are avaliable

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages