Update and harden GitHub Actions workflows - #247
Merged
Conversation
Update actions/checkout v3 → v6.0.2 and 8398a7/action-slack v3 → v3.19.0, pinning both to their exact commit SHAs to prevent supply chain attacks. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
ubuntu-20.04 is EOL; switch slack and hex publish jobs to ubuntu-latest (currently ubuntu-24.04) to stay on a supported runner. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- CI matrix: add OTP 26, 27, 28 (latest stable; OTP 29 is still RC) - hex publish: update pinned image from erlang:23.2.5.0-alpine to erlang:27-alpine Current latest patch per major (as of 2026-04): 22 → 22.3.4.27, 23 → 23.3.4.20, 24 → 24.3.4.16 25 → 25.3.2.11, 26 → 26.2.5, 27 → 27.3.4, 28 → 28.4.1 OTP 27 is used for hex publish as the latest proven-stable series; OTP 28 can be promoted once the ecosystem has wider adoption. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
RoadRunnr
marked this pull request as ready for review
April 1, 2026 07:01
0xAX
approved these changes
Apr 1, 2026
vkatsuba
approved these changes
Apr 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Modernise all GitHub Actions workflow files: pin actions to commit SHAs for supply-chain security, update runner images, and expand the OTP test matrix.
Changes
Actions — version updates + SHA pinning
main.yml,hex.yamlactions/checkoutv3v6.0.2de0fac2e4500dabe0009e67214ff5f5447ce83ddmain.yml8398a7/action-slackv3v3.19.077eaa4f1c608a7d68b38af4e3f739dcd8cba273eAll
uses:references are now pinned to their exact commit SHA with the version tag as a comment. This prevents a compromised or force-pushed tag from silently swapping the action code.Runner images
main.ymlslackubuntu-20.04(EOL)ubuntu-latesthex.yamlpublishubuntu-20.04(EOL)ubuntu-latestErlang/OTP container versions
main.ymlmatrix[22, 23, 24, 25][22, 23, 24, 25, 26, 27, 28]hex.yamlcontainererlang:23.2.5.0-alpineerlang:27-alpineCurrent latest patch per major (as of 2026-04):
22.3.4.27·23.3.4.20·24.3.4.16·25.3.2.11·26.2.5·27.3.4·28.4.1Test plan
🤖 Generated with Claude Code