name: 'Gitea PR Review' description: 'Add or update code review comments on a Gitea Pull Request' author: 'ren' inputs: gitea-token: description: 'The Gitea token to authenticate with the API' required: true body: description: 'The markdown body of the comment' required: true identifier: description: 'A unique identifier for the comment, used for updating existing comments' required: false update-if-exists: description: 'Whether to update an existing comment with the same identifier' required: false default: 'false' event: description: 'The review event (COMMENT, APPROVE, REQUEST_CHANGES)' required: false default: 'COMMENT' commit-id: description: 'The SHA of the commit (Automatically inferred from PR if not provided)' required: false path: description: 'The relative path to the file (Required for line-specific comments)' required: false new-line: description: 'The line number in the new file' required: false old-line: description: 'The line number in the old file' required: false # Advanced/Override Inputs (Usually inferred from environment) gitea-base-url: description: 'The base URL of your Gitea instance (Automatically inferred if not provided)' required: false repository: description: 'The repository (e.g., owner/repo) (Automatically inferred if not provided)' required: false issue-number: description: 'The PR number to review (Automatically inferred if not provided)' required: false runs: using: 'node20' main: 'src/index.js'