helm / helm/chart-releaser-action

Add problem-matchers to help users

Open
#73 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
668
Forks
222
PR merge metrics
No merged PRs in 30d

Description

https://github.com/actions/toolkit/blob/master/docs/commands.md#problem-matchers

> Error: error creating GitHub release: POST https://api.github.com/repos/jsoref/ssh-gateway-helm/releases: 422 Validation Failed [{Resource:Release Field:tag_name Code:already_exists Message:}]

With a problem matcher, errors like this are surfaced in a much friendlier way.

without them, one has to open the action log in search of interesting things (i.e. reading the entire log).

With them, you at least get something like this:
![problem matcher](https://github.com/jsoref/check-spelling/raw/prerelease/images/check-spelling-log.png)

And if you do a bit more magic, you could even surface the error to the line that defined the tag in the chart:
![annotation](https://github.com/jsoref/check-spelling/raw/prerelease/images/check-spelling-annotation.png)

---
Filing for now, I might try to implement this later. It bites me regularly.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked docs/commands.md problem-matchers section and review how the action currently exposes errors in its logs. Done means release errors such as the tag_name validation failure are surfaced as actionable annotations, potentially pointing to the chart line that defined the tag; no source file or test is named.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, shell
Domain
ci-cd
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.