GitHub Actions Dependency Submission

Make GitHub Actions dependencies more useful to the Dependency Graph, including pinned and forked actions.

View repository

Pinning an action to a commit SHA is a good way to make a workflow's dependencies explicit. But security advisories are usually expressed as version ranges, and a SHA or an internal fork doesn't always give the Dependency Graph enough information to make the connection.

GitHub Actions Dependency Submission scans your workflows and submits their action dependencies to GitHub's Dependency Graph. It can resolve version information for pinned references and identify upstream repositories for configured forks, helping GitHub's advisory and dependency-review features match dependencies to known versions.

Follow the dependencies

The action can inspect local composite actions and callable workflows as well as the workflows that reference them. It also supports custom paths and, as an experimental opt-in, Docker image detection. Fork handling can use GitHub's fork relationships or configured naming patterns.

Getting started

Add the action to a workflow with the permissions required to submit dependencies. Start with the repository examples, then configure fork handling or additional paths if your organization needs them.

GitHub - jessehouwing/actions-dependency-submission: Action to automatically report versions for pinned action dependencies
Action to automatically report versions for pinned action dependencies - jessehouwing/actions-dependency-submission