From 46b4fd0817cb17c5af3d4df04d0b9a116bdcd7d3 Mon Sep 17 00:00:00 2001 From: Piotr Karpala Date: Tue, 7 Jan 2025 01:17:38 -0500 Subject: [PATCH 1/2] Update to 1.1.0 Signed-off-by: Piotr Karpala --- README.md | 8 ++++---- action.yml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1936990..fb2f121 100644 --- a/README.md +++ b/README.md @@ -21,22 +21,22 @@ permissions: ``` ```yaml -uses: karpikpl/pylint-action@1.0.1 +uses: karpikpl/pylint-action@1.1.0 ``` To specify python version: ```yaml -uses: karpikpl/pylint-action@1.0.1 +uses: karpikpl/pylint-action@1.1.0 with: - python-version: '3.11' + python-version: '3.13' ``` ## Inputs ### `python-version` -**Optional** Version of python to use. Defaults to `3.11`. +**Optional** Version of python to use. Defaults to `3.13`. ## Outputs diff --git a/action.yml b/action.yml index 207d90d..3070d39 100644 --- a/action.yml +++ b/action.yml @@ -6,7 +6,7 @@ inputs: python-version: description: 'Python version to use' required: true - default: '3.11' + default: '3.13' outputs: result: description: "Result of the lint action" @@ -51,7 +51,7 @@ runs: echo "exitcode=$TASK_EXIT_CODE" >> $GITHUB_OUTPUT - name: Annotate Commit with Pylint Results - uses: karpikpl/pylint-annotation-action@v1.0.1 + uses: karpikpl/pylint-annotation-action@v1.1.0 id: pylint-annotation with: head-sha: ${{ steps.changed_files.outputs.head_sha || github.sha }} From d6d4805a2aa152b883645ca022f00241025986c0 Mon Sep 17 00:00:00 2001 From: Piotr Karpala Date: Tue, 7 Jan 2025 01:23:18 -0500 Subject: [PATCH 2/2] linting Signed-off-by: Piotr Karpala --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fb2f121..9f0e904 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![GitHub Super-Linter](https://github.com/karpikpl/pylint-action/actions/workflows/linter.yml/badge.svg)](https://github.com/super-linter/super-linter) ![CI](https://github.com/karpikpl/pylint-action/actions/workflows/ci.yml/badge.svg) -GitHub action that lints files that were changed in a PR and annotates +GitHub Action that lints files that were changed in a PR and annotates them with pylint comments. ![Linting result](img/image.png)