INCATools / INCATools/kgcl

have actions post error as comment?

Open
#80 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
23
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Our KGCL bot for GO can make pull requests, but if it is triggered but an error occurs, it silently does nothing. Here is an example:

- issue: https://github.com/geneontology/go-ontology/issues/28585
- triggered action: https://github.com/geneontology/go-ontology/actions/runs/10078725620/job/27864317755

It failed because the requestor forget to replace `GOID` with a valid term ID on one line.

The error is reported in the action log, but I had to dig for this. Would it be possible to catch these errors and comment back on the request issue?

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked GitHub Actions run and the KGCL bot workflow or entry point that handles issue-triggered requests; the payload does not name a repository file or test. Confirm how the request issue is identified and how action failures are surfaced, then verify that an invalid GOID causes an explanatory comment on the originating issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, python
Domain
ci-cd, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.