Skip to content

ci: Update actions to latest versions#1057

Open
valarnin wants to merge 3 commits into
OverlayPlugin:mainfrom
valarnin:update-actions-202605-squashed
Open

ci: Update actions to latest versions#1057
valarnin wants to merge 3 commits into
OverlayPlugin:mainfrom
valarnin:update-actions-202605-squashed

Conversation

@valarnin
Copy link
Copy Markdown
Collaborator

Updated all out of date actions to use the latest versions (no breaking changes were listed on them which impact us):

  • actions/cache
  • actions/checkout
  • actions/upload-artifact
  • chuhlomin/render-template
  • microsoft/setup-msbuild
  • ncipollo/release-action
  • peaceiris/actions-gh-pages
  • peter-evans/create-pull-request

The following packages appear to be under-maintained or unmaintained and therefore their functionality was replaced with commands instead (these were for getting properties from package.json). One of these (I can't remember which off the top of my head) was still using node 20 with no commits, open PRs, or issues to update. Might as well update both places to use the same code/logic:

  • zoexx/github-action-json-file-properties
  • euberdeveloper/ga-project-version

Closes #1049


Reference action runs on valarnin#1 if you want to see detailed output logs for each action change (ignore Lint PR Title failing, I don't have the token configured on my personal repo).

This is (mostly) pre-squashed to eliminate the version bump test and temporary action changes.

valarnin added 2 commits May 15, 2026 17:25
Update actions/checkout
Update actions/upload-artifact
Update chuhlomin/render-template
Replace euberdeveloper/ga-project-version with command
Update microsoft/setup-msbuild
Update ncipollo/release-action
Update peaceiris/actions-gh-pages
Update peter-evans/create-pull-request
Replace zoexx/github-action-json-file-properties with commands
@github-actions github-actions Bot added ci /.github/ needs-review Awaiting review labels May 15, 2026

- name: Create Release
uses: ncipollo/release-action@v1
uses: ncipollo/release-action@v1.21.0
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.

As with other places, I think it would be fine to pin only the major versions.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I'm fine with using major versions for most actions, but this specific one has a literal v1 tag/release which is no longer being updated.

https://github.com/ncipollo/release-action/releases

image

Maybe it makes sense to comment above this and note that if it ever releases a v2, we can go back to using major version?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I have added a comment here and the other case where this is a potential issue. I think the comments make sense.

Comment thread .github/workflows/update-gh-pages.yml Outdated
@github-actions github-actions Bot removed the needs-review Awaiting review label May 16, 2026
@Bing-su
Copy link
Copy Markdown
Collaborator

Bing-su commented May 16, 2026

If you want to lock the version to a specific hash, there is a tool pinact.

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

Labels

ci /.github/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Github Actions needing updated

2 participants