Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fabasoad/ghacu
GitHub Actions Check Updates - CLI tool to check whether all your actions are up-to-date or not.
https://github.com/fabasoad/ghacu
cli github-actions version-manager
Last synced: 2 months ago
JSON representation
GitHub Actions Check Updates - CLI tool to check whether all your actions are up-to-date or not.
- Host: GitHub
- URL: https://github.com/fabasoad/ghacu
- Owner: fabasoad
- License: mit
- Archived: true
- Created: 2020-04-01T09:55:11.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-05-31T13:03:53.000Z (over 1 year ago)
- Last Synced: 2024-08-02T07:10:41.459Z (6 months ago)
- Topics: cli, github-actions, version-manager
- Language: C#
- Homepage:
- Size: 2.1 MB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-actions - Update Configured GitHub Actions to the Latest Versions
- fucking-awesome-actions - Update Configured GitHub Actions to the Latest Versions
- awesome-workflows - Update Configured GitHub Actions to the Latest Versions
README
> :warning: This project is deprecated and no longer maintained starting from
> `2022/11/18`. Please use [dependabot CLI](https://github.com/dependabot/cli)
> instead, an official tool made by GitHub.ghacu
Keep your GitHub Actions up-to-date.
## :page_with_curl: Description
CLI tool that checks versions of GitHub Actions that used in a repository. Please read [documentation](https://github.com/fabasoad/ghacu/wiki) for more details.## :shipit: Commands
```pycon
--no-cache Disable cache.
--no-colors Disable colors.
--log-level (Default: Information) Set log level. Possible values: Trace, Debug, Information, Warning, Error, Critical, None.
--output-type (Default: Console) Information output type. Possible values: Console, Logger, Silent.
--repository Path to the root of a project.
--token GitHub token to work with actions repositories.
--upgrade Upgrade versions to the latest one.
--help Display this help screen.
--version Display version information.
```
All commands are optional and can be run by purpose.### :key: GitHub Token
There are 2 ways to pass GitHub token to _ghacu_:
1. Using `--token` parameter:
```bash
ghacu --token abc123 --repository "C:\Projects\business-card"
```
2. Defining `GHACU_GITHUB_TOKEN` environment variable:
```bash
export GHACU_GITHUB_TOKEN=abc123
ghacu --repository "C:\Projects\business-card"
```
> Program argument way takes precedence over the environment variable way. So the program looks at program argument first, if it's not present it looks at GHACU_GITHUB_TOKEN environment variable and if it's not present as well then ghacu will work as unauthenticated user.## :crystal_ball: Examples
```bash
PS C:\Projects\business-card> ghacu
> CI (.github\workflows\ci.yml)
actions/checkout v1 » v2.1.0
bahmutov/npm-install v1 » v1.4.0
crazy-max/ghaction-github-pages v1 » v1.3.0> Milestone Closure (.github\workflows\release-notes.yml)
actions/checkout master » v2.1.0
decathlon/release-notes-generator-action 2.0.0 » v2.0.1Run ghacu --upgrade to upgrade the actions.
```