| github-token | GitHub token for API requests. | no | ${{ github.token }} |
| blocked-users-file | Path to the file containing blocked usernames, one per line. | no | blockedUser.md |
| block-issues | Whether blocked users should be prevented from opening issues. | no | true |
| block-prs | Whether blocked users should be prevented from opening pull requests. | no | true |
| exempt-associations | Comma-separated author associations that should never be moderated. | no | OWNER,MEMBER,COLLABORATOR |
| comment-message | Comment posted when the blocklist feature closes an issue or pull request. Supports {user}, {type}, {type_plural}, {author_association}, and {reason}.
| no | This {type} was automatically closed because @{user} is blocked from opening {type_plural} in this repository.
|
| add-label | Optional label added for any moderation action. | no | "" |
| lock-conversation | Whether to lock the conversation after closing it. | no | false |
| close-reason | State reason used when closing issues. | no | not_planned |
| dry-run | If true, only detect and report moderation matches without changing anything. | no | false |
| auto-mod | Enable automatic moderation heuristics for suspicious issues and pull requests. | no | false |
| auto-mod-keywords | Comma-separated suspicious keywords or phrases matched against the title and body.
| no | telegram,whatsapp,t.me,airdrop,bonus,dm me,contact me,investment opportunity |
| auto-mod-max-links | Maximum allowed link count before auto-mod matches. Set to 0 to disable link counting.
| no | 3 |
| auto-mod-new-contributors-only | If true, auto-mod only applies to authors with association NONE, FIRST_TIMER, or FIRST_TIME_CONTRIBUTOR.
| no | true |
| auto-mod-comment-message | Comment posted when auto-mod closes an issue or pull request. Supports {user}, {type}, {type_plural}, {author_association}, {reason}, {keywords}, and {link_count}.
| no | This {type} was automatically closed by auto-mod because it matched suspicious content checks: {reason}.
|
| auto-mod-label | Optional label added when auto-mod matches. | no | auto-moderated |
| concurrency-enabled | Whether to enable the concurrency limit feature. | no | false |
| concurrency-limits | Association-based limits as comma-separated KEY=VALUE pairs. Supported keys: OWNER, MEMBER, COLLABORATOR, CONTRIBUTOR, FIRST_TIMER, FIRST_TIME_CONTRIBUTOR, NONE. Value 0 means unlimited.
| no | NONE=1,FIRST_TIMER=1,FIRST_TIME_CONTRIBUTOR=1,CONTRIBUTOR=10,COLLABORATOR=10,MEMBER=10 |
| concurrency-comment-message | Comment posted when the concurrency feature closes an item. Supports {user}, {type}, {type_plural}, {author_association}, {reason}, {limit}, and {count}.
| no | "" |