Skip to content

Commit

Permalink
Improve usage example
Browse files Browse the repository at this point in the history
Fix #26
  • Loading branch information
janheinrichmerker authored Oct 27, 2021
1 parent 04cca7c commit 6f5b949
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,19 @@ This action also makes the changelog available to other actions as [output](#out
## Example usage

```yaml
uses: heinrichreimer/github-changelog-generator-action@v2.1.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
name: Changelog
on:
release:
types:
- created
jobs:
changelog:
runs-on: ubuntu-20.04
steps:
- name: "✏️ Generate release changelog"
uses: heinrichreimer/github-changelog-generator-action@v2.1.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
```
## Inputs
Expand Down

0 comments on commit 6f5b949

Please sign in to comment.