* feat: migrate to ESM and update dependencies
- Migrated the project to ESM to support the latest `@actions/*` package versions.
- Updated dependencies to their latest versions, including `@actions/core`, `@actions/github`, and others.
- Replaced `.prettierrc.js` with `.prettierrc.json` for configuration.
- Updated ESLint configuration to use ESM and added new rules.
- Refactored test files to use `jest` with ESM imports.
- Removed deprecated files and updated import paths to use `.js` extensions.
- Added new files for improved configuration and removed unnecessary mocks.
- Updated README to reflect breaking changes in version 7.
* docs: update README to clarify ESM migration details and adjust TypeScript configuration
* Fix: Improve PR number validation and warning messages in input handling
* Fix: Enhance PR number validation with improved sanitization and warning messages
* Fix: Change sanitizeForWarning to a local function for better encapsulation
* Refactor labeler function to improve label management and deduplication logic
* Refactor labeler function to improve label handling and ensure manual labels are prioritized
* Update README.md and labeler.ts to clarify permissions for GitHub Labeler Action
* Update dist/index.js with latest build changes
* Update README.md to clarify manual label creation as an alternative to granting issues write permission
* Fix labeler error handling to ensure case-insensitive check for unauthorized access
* Refactor error handling in labeler to throw an error for unauthorized access instead of logging
* Add tests for labeler error handling and improve error reporting