Node.js 12 actions deprecation warning on github

In several CI runs, I see a warning like

Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/checkout, actions/checkout

Could someone point towards an update that might resolve this, if this has been addressed already?

Would changing this line be enough:

 - uses: actions/checkout@v2

to

 - uses: actions/checkout@v3

as it seems GitHub - actions/checkout: Action for checking out a repo suggests that v3 is Updated to the node16 runtime by default ?

Yes, that should do it, I believe.

For folks that are using the package butler system, I just updated it so it should now automatically make those changes for your repos. For those that want to try this (because they are tired of manually keeping GitHub Workflow files up-to-date), GitHub - JuliaLang/PkgDev.jl: Tools for Julia package developers.