Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
bar-chart-2

GitHub Action

GitHub App Statistics

v1.0.0

GitHub App Statistics

bar-chart-2

GitHub App Statistics

Retrieve statistics for a GitHub App

Installation

Copy and paste the following snippet into your .yml file.

              

- name: GitHub App Statistics

uses: gr2m/[email protected]

Learn more about this action in gr2m/app-stats-action

Choose a version

GitHub App Statistics Action

GitHub Action to retrieve statistics for a GitHub App

Build Status

Usage

Name: App Stats
on:
  push:
    branches:
      - master

jobs:
  log:
    runs-on: ubuntu-latest
    steps:
      - uses: gr2m/[email protected]
        id: stats
        with:
          id: ${{ secrets.APP_ID }}
          privateKey: ${{ secrets.PRIVATE_KEY }}
      - run: echo "installations: '${{ steps.stats.outputs.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

License

ISC