gh-workflow-parser

Crates.iogh-workflow-parser
lib.rsgh-workflow-parser
version0.5.4
sourcesrc
created_at2024-02-13 08:25:45.049693
updated_at2024-03-05 12:17:06.825393
descriptionParse GitHub workflows and do stuff like create issues
homepage
repository
max_upload_size
id1138217
size9,928,282
Marc (CramBL)

documentation

https://docs.rs/gh-workflow-parser

README

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
log.do_fetch.21616
blabla error

Code documentation

Available HERE

Commit count: 0

cargo fmt