From 877a3471a18c5e2f80f96bbe0068ee91aeb3fc9e Mon Sep 17 00:00:00 2001 From: Diogo Ribeiro Date: Tue, 3 Jun 2025 22:01:15 +0100 Subject: [PATCH] docs: document issue limit --- README.md | 3 ++- action.yml | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5c00c8a..6647c5a 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,7 @@ jobs: uses: ./ with: repo-token: ${{ secrets.GITHUB_TOKEN }} + limit: 5 ``` ## 📝 Example TODOs @@ -73,7 +74,7 @@ If a label like `priority:high` or `due:2025-06-01` doesn't exist, it will be au ## 📌 Notes -- Max **5 issues** are created per run to avoid rate limiting + - Max **5 issues** are created per run to avoid rate limiting (configurable via the `limit` input) - **Duplicate detection** is not yet implemented _(coming soon)_ - All labels are **auto-created with default colors** if missing diff --git a/action.yml b/action.yml index 06279c7..8d6dd81 100644 --- a/action.yml +++ b/action.yml @@ -56,6 +56,11 @@ inputs: required: false description: Email used in conjunction with the Jira API token + limit: + required: false + description: Maximum number of issues to create + default: '5' + runs: using: 'node20' main: 'dist/index.js'