1.0.6 • Published 2 years ago

@gh-stats/reporter v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

GitHub Workflow Status npm (scoped)

gh-stats reporter package

free lightweight github actions analytics

Install

npm i @gh-stats/reporter

Usage

Node.js action

Add reportAction() call to your action code.

const { reportAction } = require('@gh-stats/reporter');

reportAction();

Run action

Add reportAction() call to your action yml.

bash <(curl -s https://gh-stats.app/actions/bash/v1)

you can always validate our script via SHA-512 sum that we are publishing at https://api.gh-stats.app/actions/bash/v1.sha512

How does it work?

This library simply reports usage of your workflow and stores it in database.

You can view your action stats at https://api.gh-stats.app/actions/{user}/{action-repository}.

Badge

After reporting, add a badge to your README.md

![example](https://shields.gh-stats.app/badge?action=allegro-actions/verify-monitoring)

example

You can use any shields.io api query parameters:

![example](https://shields.gh-stats.app/badge?action=allegro-actions/verify-monitoring&color=yellow&style=flat)

example

1.0.6

2 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago