github / github/gh-actions-lock

Add support to report the versions to the dependency graph API

Open
#122 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
49
Forks
3
Avg merge
1d 20h
Merged PRs (30d)
3

Description

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.

Contributor guide

Open the contributing guide

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.