This fixes some CI warnings about using obsolete versions of NodeJS.
NodeJS 12 (from checkout@2) is at EOL, and CI warnings recommend using
NodeJS 16. The docs for actions/checkout recommend pinning at v3.
Some of these workflows were using `checkout@master`, and were thereby
already using NodeJS 16. I'm not sure that it's necessary to use v3
for these instead of master. However, the docs suggest using v3.
If at some point the authors decide to rename the `master` branch to
`main`, then we may be glad we made this change.
- actions/setup-python@v4
- Use pypa/gh-action-pypi-publish@v1
this fix a warning:
You are using "pypa/gh-action-pypi-publish@master".
The "master" branch of this project has been sunset
and will not receive any updates, not even security
bug fixes.
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
The URL printed as part of the PR message for #344 should point to the workflow run that generated the action. Unfortunately, I got the syntax wrong, and that link points to the 404 page.
I think this should fix the problem.
This is set to run once per month, and on every push.
Before merging this PR, "push" should be removed from the list of
events that trigger the script, which should not be run so frequently.
The "push" event is turned on for testing only.