Skip to content

chore: pin GitHub Actions to commit SHAs and bump versions#1643

Merged
RadNotRed merged 6 commits into
Atlas-OS:new-updatefrom
Stensel8:chore/pin-actions-to-shas
Apr 27, 2026
Merged

chore: pin GitHub Actions to commit SHAs and bump versions#1643
RadNotRed merged 6 commits into
Atlas-OS:new-updatefrom
Stensel8:chore/pin-actions-to-shas

Conversation

@Stensel8

@Stensel8 Stensel8 commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

Maintenance PR; no app code changed, only .github/workflows/ and .github/dependabot.yml.

Pin all GitHub Actions to commit SHAs to prevent supply-chain attacks. A compromised mutable tag would otherwise silently execute arbitrary code in CI. Each SHA was obtained with:

gh api repos/{owner}/{repo}/commits/{tag} --jq '.sha'

Actions pinned:

  • actions/checkout v6
  • actions/upload-artifact v7.0.0
  • actions/labeler v6.0.1
  • tj-actions/changed-files v47.0.4

Add .github/dependabot.yml to automate future SHA-pin updates. Dependabot will open weekly PRs to keep SHAs current, grouped by organisation.

@github-actions github-actions Bot added the actions GitHub Actions related issues or PRs label Apr 27, 2026
Xyueta and others added 6 commits April 27, 2026 14:17
… REG_SZ instead of REG_DWORD

The three values rewritten in `HKCU\Keyboard Layout\Toggle` should be of type REG_SZ:

https://github.com/Atlas-OS/Atlas/blob/0b41102f1ee9696274a177db6aa913b8481377de/src/playbook/Executables/AtlasModules/Scripts/Modules/Qol/Qol.psm1#L47-L50

Expectation:

<img width="1052" height="646" alt="Image" src="https://github.com/user-attachments/assets/7894fb5b-460f-46dd-b634-a5c23b4c432a" />

I also checked the `HKCU\Control Panel\Accessibility\...` `Flag` values rewritten in the same function in the registry in a stock install of Windows, and those were also of type REG_SZ, so have patched those too. I have not checked other values in other functions.

We received reports of this causing crashes in Keyman; see keymanapp/keyman#14342. (We have now patched Keyman to work around the unexpected data type.)
Bumps the template to 25H2, which is the current Windows release that is supported by AtlasOS.
Pin all GitHub Actions to full commit SHAs to prevent supply-chain
attacks. Also bumps to latest stable releases and adds dependabot.yml
for automated weekly SHA updates.

- actions/checkout v4 -> v6
- actions/upload-artifact v4 -> v7
- actions/labeler v4 -> v6
- tj-actions/changed-files v46.0.1 -> v47.0.6
- Add .github/dependabot.yml (weekly, grouped by org)
@Stensel8 Stensel8 force-pushed the chore/pin-actions-to-shas branch from b0d59f0 to 98e4ca5 Compare April 27, 2026 12:19
@Stensel8 Stensel8 changed the base branch from main to new-update April 27, 2026 12:19
@github-actions github-actions Bot added the playbook Playbook related issues/PRs label Apr 27, 2026
@pencilnav pencilnav requested review from TheyCreeper and jacksyrm and removed request for RadNotRed and Xyueta April 27, 2026 17:42
@RadNotRed RadNotRed merged commit 51fc7e1 into Atlas-OS:new-update Apr 27, 2026
1 check passed
@Stensel8 Stensel8 deleted the chore/pin-actions-to-shas branch April 27, 2026 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

actions GitHub Actions related issues or PRs playbook Playbook related issues/PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants