loopbackio / loopbackio/security

Adopt GitHub Actions Lockfiles

Open
#42 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

GitHub Actions Lockfiles are now in technical preview:

The GitHub community design discussion: https://github.com/orgs/community/discussions/194494

It provides true dependency tree pinning akin to package-lock.json. This is better that the previous hash-pinning which only pinned the immediate dependency, but not the nested, transient dependencies.

Renovate has added support for the lockfiles: https://github.com/renovatebot/renovate/pull/45199

From https://github.com/renovatebot/renovate/pull/45199:

gh actions-lock rewrites the workflows it manages back to plain refs
when it regenerates them, which strips out any inline digest pin

Hence, this necessarily replaces: https://github.com/loopbackio/security/issues/27

Workflow

Unlike prior art, this lockfile is used and enforced by GitHub Actions workers themselves without additional action calls.

Usage: https://github.com/github/gh-actions-lock/tree/f41c314f82c2382ef0263c8d93e6d66dce327456

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start with the linked GitHub Actions Lockfiles usage documentation and Renovate pull request, then compare the proposed approach with the previous work in issue 27. Identify which repository workflows are affected; done means the applicable workflows adopt and enforce lockfiles instead of the earlier immediate-dependency hash pinning.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.