node-ga-updater
v1.2.3
Published
Update GitHub Actions
Downloads
17
Readme
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-updater
Usage
Use --update-all
or -u
(alias) to skip prompts and update all by default.
npx node-ga-updater -u
Use --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 .env
Add this following ENV variable
# GitHub access token
GITHUB_TOKEN=your_token
You 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!