Skip to content

Pin GitHub Actions versions - #1121

Open
twz123 wants to merge 1 commit into
k0sproject:mainfrom
twz123:pin-gh-actions
Open

Pin GitHub Actions versions#1121
twz123 wants to merge 1 commit into
k0sproject:mainfrom
twz123:pin-gh-actions

Conversation

@twz123

@twz123 twz123 commented Jul 23, 2026

Copy link
Copy Markdown
Member

No description provided.

@kke

kke commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

why?

@twz123

twz123 commented Jul 29, 2026

Copy link
Copy Markdown
Member Author

Because we're doing it everywhere in the k0sproject org, and then disallow the usage of unpinned GitHub Actions in the repository settings.

This prevents supply chain attacks via GitHub Actions in which malicious actors take over a GitHub Action repository and then rewrite all the existing tags to include whatever they want to have included: Exfiltrating credentials, embedding malicious code into the software being built, ...

This has happened quite often in the recent past to various actions, and even twice to trivy.

Signed-off-by: Tom Wieczorek <twieczorek@mirantis.com>
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