Actions73
- Repository Actions
- Issue Actions
- Pull Request Actions
- User Actions
- Organization Actions
- Release Actions
- Webhook Actions
- Branch Actions
- Commit Actions
- Tag Actions
Overview
This node interacts with the Forgejo API to list commit statuses for a specific commit in a repository. It is useful for developers and DevOps teams who want to retrieve the status checks or build statuses associated with a particular commit SHA in a repository. For example, it can be used to monitor CI/CD pipeline results or code review statuses for a commit.
Use Case Examples
- List all statuses for a commit SHA in a repository to check build and test results.
- Retrieve commit statuses to display in a dashboard for monitoring code quality and deployment status.
Properties
| Name | Meaning |
|---|---|
| Owner | The username or organization that owns the repository. |
| Repository | The name of the repository where the commit exists. |
| SHA | The SHA hash of the commit for which to list statuses. |
| Additional Options | Optional parameters for pagination such as page number and limit of results per page. |
Output
JSON
json- ``
*id- Unique identifier of the commit status.
*state- State of the commit status (e.g., pending, success, error, failure).
*description- Description of the commit status.
*context- Context or identifier for the status check.
*target_url- URL with more information about the status.
*created_at- Timestamp when the status was created.
*updated_at- Timestamp when the status was last updated.
- ``
Dependencies
- Forgejo API
Troubleshooting
- Ensure the provided owner, repository, and commit SHA are correct and exist in the Forgejo instance.
- Check that the API credentials for Forgejo are valid and have sufficient permissions to access commit statuses.
- If pagination is used, verify that the page and limit parameters are within acceptable ranges.
- Common errors include 404 Not Found if the commit or repository does not exist, and 401 Unauthorized if authentication fails.
Links
- Forgejo API Documentation - Official API documentation for Forgejo, including endpoints for commit statuses.