Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
theboi committed Jul 21, 2020
1 parent 9e5bcaa commit bb8183e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)

![Example of profile README](https://raw.githubusercontent.com/theboi/github-update-readme/master/example.png)

## About

This GitHub Action updates your profile README.md to show your latest activity.
Expand All @@ -10,15 +12,15 @@ This GitHub Action updates your profile README.md to show your latest activity.

### `header`

**Required** The header of your README.md.
**Required** The header of your README.md. Markdown supported.

### `subhead`

The subheader of your README.md. Default `""`.
The subheader of your README.md. Markdown supported. Default `""`.

### `footer`

The footer of your README.md. Default `""`.
The footer of your README.md. Markdown supported. Default `""`.

### `path`

Expand All @@ -34,7 +36,9 @@ Number of repositories to load per row. Default `"3"`.

### `customReadmeFile`

Customise the README.md file format without forking this repository. Use these reserved strings wrapped in `${` and `}` (For instance, `${header}`) to reference certain content:
Customise the README.md file format without forking this repository. Markdown supported.

Use these reserved strings wrapped in `${` and `}` (For instance, `${header}`) to reference certain content:
- `repoTable`: Set of tables with most recent repository activity.
- `header`
- `subhead`
Expand Down
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ name: 'github-update-readme'
description: 'Update your profile README.md to show your latest activity.'
inputs:
header:
description: 'The header of your README.md.'
description: 'The header of your README.md. Markdown supported.'
required: true
default: ''
subhead:
description: 'The subheader of your README.md.'
description: 'The subheader of your README.md. Markdown supported.'
required: false
default: ''
footer:
description: 'The footer of your README.md.'
description: 'The footer of your README.md. Markdown supported.'
required: false
default: ''
path:
Expand All @@ -26,7 +26,7 @@ inputs:
required: false
default: '3'
customReadmeFile:
description: "Customise the README.md file format without forking this repository. Read more on this repository's README.md"
description: "Customise the README.md file format without forking this repository. Read more on this repository's README.md. Markdown supported."
required: false
default: |
## ${header}
Expand Down
Binary file added example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bb8183e

Please sign in to comment.