Skip to content

Reference github action versions by hash with auto-update#80

Merged
okurz merged 2 commits into
openSUSE:masterfrom
okurz:feature/poo203049_hashed_github_action
Jul 1, 2026
Merged

Reference github action versions by hash with auto-update#80
okurz merged 2 commits into
openSUSE:masterfrom
okurz:feature/poo203049_hashed_github_action

Conversation

@okurz

@okurz okurz commented Jun 30, 2026

Copy link
Copy Markdown
Member

Motivation:
Secure GitHub Actions workflows against git tag hijacking attacks.

Design Choices:
Replace version tags with full 40-character SHA-1 hashes.
Preserve tags as comments for easy reference.

Benefits:
Ensures workflow immutability and compliance with security
best practices.

Related issue: https://progress.opensuse.org/issues/203049
Motivation:
Workflow files failed yamllint checkstyle checks due to inline comments
only having 1 space instead of the expected 2.

Design Choices:
Reformat comment prefixes to use 2 spaces before '#'.

Benefits:
Fixes CI checkstyle/yaml-syntax validation errors.

Related issue: https://progress.opensuse.org/issues/203049
@okurz
okurz merged commit bf72217 into openSUSE:master Jul 1, 2026
1 of 11 checks passed
@okurz
okurz deleted the feature/poo203049_hashed_github_action branch July 1, 2026 14:53
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.

3 participants