Skip to content

Add lockfile to pin all gha dependencies - #855

Open
lpmi-13 wants to merge 1 commit into
splunk:developfrom
lpmi-13:add-gha-lockfile
Open

lpmi-13 wants to merge 1 commit into
splunk:developfrom
lpmi-13:add-gha-lockfile

Conversation

@lpmi-13

@lpmi-13 lpmi-13 commented Nov 12, 2026

Copy link
Copy Markdown

add in a github actions lockfile that asserts the actual owner of the referenced actions (just sha pinning doesn't do that and will resolve sha hashes from forks: https://www.vaines.org/posts/2026-03-24-the-comforting-lie-of-sha-pinning/).

https://github.blog/changelog/2026-10-28-github-actions-workflow-lockfiles-are-generally-available/

@lpmi-13
lpmi-13 requested a review from a team as a code owner November 12, 2026 10:15
with:
persist-credentials: false
- uses: ./.github/actions/setup-sdk-environment
- uses: $/.github/actions/setup-sdk-environment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is to documented way to refer to local actions:
https://github.com/github/gh-actions-lock#limitations

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah found out about this recently when running zizmor on some of our repos. The syntax does indeed work, but clankers desperately flag this as wrong despite noting down otherwise in AGENTS.md. We don't use LLMs here much, but non-maintainers will definitely bring this up thinking it's a mistake. Alas, we might need to leave this in for now just to spare ourselves the unnecessary busywork. :(

@Ickerday

Copy link
Copy Markdown
Collaborator

Oooh didn't know about this yet, we'll have a look! <3

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants