From 748f9943339e7f43131052f83dacb2ec0faf91ff Mon Sep 17 00:00:00 2001 From: Morteza Pourkazemi Date: Tue, 31 Mar 2026 21:40:45 +0200 Subject: [PATCH 1/3] chore: Add conventional commit job to CI --- .github/workflows/ci.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0e51071..6c73ad2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,12 +6,29 @@ on: permissions: contents: read + pull-requests: read concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: + conventional-commit: + name: Conventional Commit + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155571e35 # v5.5.3 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + types: | + feat + fix + docs + chore + deps + revert + checks: runs-on: ubuntu-latest strategy: @@ -38,7 +55,7 @@ jobs: ci: name: Checks - needs: [checks] + needs: [conventional-commit, checks] runs-on: ubuntu-latest if: always() steps: From 7f24672a80a84393e7daf0b9513036d3782b5ea6 Mon Sep 17 00:00:00 2001 From: Morteza Pourkazemi Date: Tue, 31 Mar 2026 21:41:13 +0200 Subject: [PATCH 2/3] docs: Add Readme labels --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4058b6f..47a40c5 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # Readability +[![pub package](https://img.shields.io/pub/v/reader_mode.svg)](https://pub.dev/packages/reader_mode) +[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE) + A Dart port of [Mozilla's Readability.js](https://github.com/mozilla/readability) - extract readable content from any web page. ## Requirements @@ -14,7 +17,13 @@ Add to your `pubspec.yaml`: ```yaml dependencies: - reader_mode: ^0.1.0 + reader_mode: # see pub.dev for latest version +``` + +Or run: + +```bash +dart pub add reader_mode ``` ### As a CLI Tool From 18fb2116f84e4f58dd28b1914ac1cb0b8d5fa563 Mon Sep 17 00:00:00 2001 From: Morteza Pourkazemi Date: Tue, 31 Mar 2026 23:14:29 +0200 Subject: [PATCH 3/3] test: verify lints 6.1.0 fails on Dart 3.3.0 --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index 1cdfd7d..99dcc63 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -32,5 +32,5 @@ dependencies: dev_dependencies: coverage: ^1.8.0 - lints: ^4.0.0 + lints: 6.1.0 test: ^1.25.0