Module gh_workflow_parser::util
source · Expand description
Utility functions for parsing and working with GitHub CLI output and other utility functions.
Functions§
- Retrieve the GitHub CLI version from the GitHub CLI binary and check that it meets version requirements.
- Check that the GitHub CLI version meets version requirements from the string output of
gh --version
- Parse an absolute path from a string. This assumes that the the first ‘/’ found in the string is the start of the path.
- Parse a path from a string
- Extract the job IDs from the lines with job information
- Set the file permissions for a file on Linux
- Take the lines with failed jobs from the output of
gh run view