github / github/dependency-submission-toolkit

Unecessary annotations to GitHub Actions summary runs

Open
#80 2 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
62
Forks
18
PR merge metrics
No merged PRs in 30d

Description

Hi,

While using this library with GitHub Actions, `core.notice` generates unnecessary annotations to the summary run.

Example screenshot:
![Screenshot 2024-07-05 at 17 23 33](https://github.com/github/dependency-submission-toolkit/assets/55999/13683460-af8a-49f3-83e2-84c4379eeb2f)

Code: https://github.com/github/dependency-submission-toolkit/blob/ba4304393932d94a64d5b97d53b8405ed0e40a90/src/snapshot.ts#L192

Would be possible for this to only generate a to something that does not generate annotations instead of a `core.notice`?

Thanks!

Contributor guide

Open the contributing guide

Research direction

Start in src/snapshot.ts at the linked code around line 192 and inspect how core.notice is used during GitHub Actions runs. Identify a suitable output path that does not create summary annotations, then verify the change in a GitHub Actions run; done means the message remains available without an unnecessary annotation.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, typescript
Domain
ci-cd
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.