node-ga-updater v1.2.3
node-ga-updater
Update your GitHub Actions.
!IMPORTANT This tool uses pinned version only for security purpose.
Requirements
- Node.js v18 or higher
Getting Started
npx node-ga-updaterUsage
Use --update-all or -u (alias) to skip prompts and update all by default.
npx node-ga-updater -uUse --path or -p (alias) for custom path. Default .github/workflows.
Use --silent or -s (alias) to skip stdout logs.
Use --commit or -c (alias) to commit after initialisation. Default false.
Use --message or -m (alias) to provide custom commit message when --commit is thruthy. Default chore: update GitHub Actions
!TIP You can stack short flags (when no flag argument), for instance
-scm "foo"is equivalent to-s -c -m "foo".
Authentication
You can authenticate yourself to the GitHub API if you wont be annoyed with Rate Limits.
Create a .env if you don't have one.
touch .envAdd this following ENV variable
# GitHub access token
GITHUB_TOKEN=your_tokenYou can create a GitHub token here
Contributors ✨
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!