starburst997/Update PR Comment
Create or update a PR comment using the first line as an identifier
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | GitHub token for authentication | no | ${{ github.token }} |
| issue-number | Pull request or issue number (defaults to current PR number) | no | "" |
| body | Comment body. The first line is used to identify the comment for updates. | no | — |
| template-pr-cleanup | Use PR cleanup template | no | false |
| template-pr-deploy | Use PR deploy template | no | false |
| template-repository-name | Repository name for template (e.g., github.event.repository.name) | no | ${{ github.event.repository.name }} |
| template-sha | Commit SHA for template (e.g., github.sha) | no | ${{ github.sha }} |
| template-status | Status for template: 'success', 'progress', or 'fail' | no | "" |
| template-version | Version for template | no | "" |
| template-future-version | Future version for template | no | "" |
| template-environment | Environment for template | no | "" |
| template-url | URL for template | no | "" |
| template-pattern | Pattern for cleanup template | no | "" |
| template-versions-markdown | Versions markdown for cleanup template | no | "" |
| template-logs-url | Logs URL for template | no | ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} |
| update-linked-issue | Whether to also update linked issue comments (default: true) | no | true |
Outputs
| name | description |
|---|---|
| comment-id | The ID of the created or updated comment |
| comment-url | The URL of the created or updated comment |
| comment-body | The body of the created or updated comment |