-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aa869fc
commit d64b9a4
Showing
2 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# GitHub Stats Analyser | ||
|
||
## Table of Contents | ||
|
||
- [GitHub Stats Analyser](#github-stats-analyser) | ||
- [Table of Contents](#table-of-contents) | ||
- [Introduction](#introduction) | ||
- [Usage](#usage) | ||
- [GitHub Action Example](#github-action-example) | ||
- [GitHub Action Inputs](#github-action-inputs) | ||
|
||
## Introduction | ||
|
||
This project is a tool to analyse the statistics of a user's GitHub repositories. | ||
|
||
It is designed to be used as a GitHub Action. | ||
|
||
The tool is written in Python and uses the GitHub API to some of the statistics. As well it clones the repositories to be analysed and analyses the files in the repositories. | ||
|
||
## Usage | ||
|
||
### GitHub Action Example | ||
|
||
The GitHub Action is designed to be used in a workflow. | ||
|
||
```yaml | ||
- name: Analyse GitHub repositories | ||
uses: jackplowman/github-stats-analyser@latest | ||
with: | ||
repository_owner: jackplowman # Put your GitHub username here or use ${{ github.repository_owner }} | ||
``` | ||
### GitHub Action Inputs | ||
| Name | Required | Description | Type | Default | | ||
| ------------------ | -------- | --------------------------------------------------- | ------ | --------------------- | | ||
| `repository_owner` | yes | The GitHub username of the repositories to analyse. | string | | ||
| `github-token` | no | A Github token to authenticate API requests. | string | `${{ github.token }}` | |