This GitHub action is following these steps in sequential order:
- Create a compliance folder
/compliance
on the root of the repo - If
tests-folders
input is given it would copy the contents of the folder and paste it into compliance folder - If
docs-folders
input is given it would copy the contents of the folder and paste it into compliance folder - If
github-token
input is given it would gather information about the current pull request, issues and commits associated with it and paste it into compliance folder - Scan compliance folder for any
filename.json
file and create a human readeable version asfilename.txt
- It would compress (zip) compliance folder and the zip file with an Unix timestamp, e.g.
1617971697.zip
- It would upload the zip file to a Google Cloud storage bucket