gh-workflow-parser 0.5.0

Parse GitHub workflows and do stuff like create issues
Documentation

GitHub Workflow Parser

Purpose

Make automatic issue creation a lot smarter. Adding error labels, link to specific runs and appropriate error logs. help-screenshot

Installation

Build from source or install with cargo install gh-workflow-parser

Usage

Run gh-workflow-parse --help to get started.

Example of a created issue's body

Run ID: 7858139663 LINK TO RUN

1 job failed:

  • Test template xilinx

Test template xilinx (ID 21442749267)

Step failed: 📦 Build yocto image
Log: github.com/luftkode/distro-template/actions/runs/7858139663/job/21442749267
Best effort error summary:

ERROR: sqlite3-native-3_3.43.2-r0 do_fetch: Bitbake Fetcher Error: MalformedUrl('${SOURCE_MIRROR_URL}')
ERROR: Logfile of failure stored in: /app/yocto/build/tmp/work/x86_64-linux/sqlite3-native/3.43.2/temp/log.do_fetch.21616
ERROR: Task (virtual:native:/app/yocto/build/../poky/meta/recipes-support/sqlite/sqlite3_3.43.2.bb:do_fetch) failed with exit code '1'

2024-02-11 00:09:04 - ERROR    - Command "/app/yocto/poky/bitbake/bin/bitbake -c build test-template-ci-xilinx-image package-index" failed with error 1

Code documentation

Available HERE