https://github.com/gr2m/app-stats-action
https://github.com/gr2m/app-stats-action
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/gr2m/app-stats-action
- Owner: gr2m
- License: isc
- Created: 2020-07-17T22:57:44.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2023-11-15T04:51:52.000Z (over 2 years ago)
- Last Synced: 2024-10-30T00:44:04.644Z (over 1 year ago)
- Language: JavaScript
- Size: 1.97 MB
- Stars: 11
- Watchers: 3
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# GitHub App Statistics Action
> GitHub Action to retrieve statistics for a GitHub App
[](https://github.com/gr2m/app-stats-action/actions)
## Usage
```yml
name: App Stats
on:
push:
branches:
- master
jobs:
log:
runs-on: ubuntu-latest
steps:
- uses: gr2m/app-stats-action@v1.x
id: stats
with:
id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.PRIVATE_KEY }}
- run: "echo installations: '${{ steps.stats.outputs.installations }}'"
- run: "echo repositories: '${{ steps.stats.outputs.repositories }}'"
- run: "echo suspended: '${{ steps.stats.outputs.suspended_installations }}'"
- run: "echo most popular repositories: '${{ steps.stats.outputs.popular_repositories }}'"
```
## Debugging
To see additional debug logs, create a secret with the name: `ACTIONS_STEP_DEBUG` and value `true`.
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md)
## License
[ISC](LICENSE)