Skip to content

Commit 571e107

Browse files
Merge pull request #173 from DiogoRibeiro7/codex/add-limit-input-to-action.yml
Add limit input docs
2 parents 73c1387 + 877a347 commit 571e107

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
uses: ./
4747
with:
4848
repo-token: ${{ secrets.GITHUB_TOKEN }}
49+
limit: 5
4950
```
5051
5152
## 📝 Example TODOs
@@ -73,7 +74,7 @@ If a label like `priority:high` or `due:2025-06-01` doesn't exist, it will be au
7374

7475
## 📌 Notes
7576

76-
- Max **5 issues** are created per run to avoid rate limiting
77+
- Max **5 issues** are created per run to avoid rate limiting (configurable via the `limit` input)
7778
- **Duplicate detection** is not yet implemented _(coming soon)_
7879
- All labels are **auto-created with default colors** if missing
7980

action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ inputs:
5656
required: false
5757
description: Email used in conjunction with the Jira API token
5858

59+
limit:
60+
required: false
61+
description: Maximum number of issues to create
62+
default: '5'
63+
5964
runs:
6065
using: 'node20'
6166
main: 'dist/index.js'

0 commit comments

Comments
 (0)