Generates a random UUID using the uuid
module in python.
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.
uuid
- The generated UUIDsafe
- 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, andunknown
means the platform did not provide information on whether the UUID was generated safely or not. Source: [1]
- uses: actions/checkout@v4.1.7
- uses: actions/setup-python@v5.1.1
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