Feature request: Add support to report the versions to the dependency graph API

Open
#122 0 comments 3 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
github-actions, go
Domain
cli, devops, security

Research direction

Start by reviewing the existing automatic dependency submission flow and lockfile generation, then compare the linked actions-dependency-submission implementation. Trace how floating tags, branches, and SHAs are narrowed and how versions reach the dependency graph API. Done means dependencies resolved from an existing or ephemeral lockfile are submitted with actual versions so vulnerability reporting works.

Written by the indexing model from the issue text.

Description

area:dependency-graph-integration feature-request

Right now security vulnerability reporting is broken when a workflow uses a floating tag, branch or sha.

The lock file is a perfect source for the dependency graph to record the dependencies.

The built-in narrowing could also report the actual versions so that de vulnerability reporting works.

I currently have an action that implements this based on parsing the workflows directly:
https://github.com/jessehouwing/actions-dependency-submission

It would be awesome if the "automatic dependency submission" would actually use the existing lock file or generate a ephemeral lockfile.

Dominant language
Go
Stars
295
Forks
21
Avg merge
19h 30m
Merged PRs (30d)
60

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/gh-actions-lock

All issues in github/gh-actions-lock

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.