Skip to content

Commit

Permalink
update to v1.1.0 in Readme (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
karpikpl authored Jan 7, 2025
1 parent 6760196 commit 230c750
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ GitHub Action that annotates code with pylint linting results captured using

## Usage

Recommended usage with
[Pylint action](https://github.com/marketplace/actions/pylint-annotation-action)

### Basic

You need to add permissions for this tool.
Expand All @@ -19,7 +22,7 @@ permissions:
```
```yaml
uses: karpikpl/pylint-annotation-action@1.0.0
uses: karpikpl/pylint-annotation-action@1.1.0
with:
lint-file: pylint.json
pylint-result-code: 0
Expand All @@ -30,7 +33,8 @@ with:
### `head-sha`

**Required** SHA of the commit to annotate.
**Optional** SHA of the commit to annotate. Defaults to `github.sha` - current
commit.

### `lint-file`

Expand Down
1 change: 1 addition & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ inputs:
default: 0
head-sha:
description: 'SHA of the commit to annotate.'
default: '${{ github.sha }}'
required: true
repo-owner:
description: 'The repo owner.'
Expand Down

0 comments on commit 230c750

Please sign in to comment.