PierreDemailly / node-ga-updater

Update your GitHub Actions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-ga-updater

version Maintenance mit

Update your GitHub Actions.

Note This tool uses pinned version only for security purpose.

Requirements

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):

PierreD
PierreD

💻 📖
Kouadio Fabrice Nguessan
Kouadio Fabrice Nguessan

💻 📖

This project follows the all-contributors specification. Contributions of any kind welcome!

About

Update your GitHub Actions.

License:MIT License


Languages

Language:JavaScript 100.0%