UNPKG

cberg

Version:

Node.js Client for the Codeberg API

66 lines (58 loc) 3.43 kB
# ActionRun ActionRun represents an action run ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ScheduleID** | **number** | the cron id for the schedule trigger | [optional] [default to undefined] **approved_by** | **number** | who approved this action run | [optional] [default to undefined] **commit_sha** | **string** | the commit sha the action run ran on | [optional] [default to undefined] **created** | **string** | when the action run was created | [optional] [default to undefined] **duration** | **number** | A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. | [optional] [default to undefined] **event** | **string** | the webhook event that causes the workflow to run | [optional] [default to undefined] **event_payload** | **string** | the payload of the webhook event that causes the workflow to run | [optional] [default to undefined] **html_url** | **string** | the url of this action run | [optional] [default to undefined] **id** | **number** | the action run id | [optional] [default to undefined] **index_in_repo** | **number** | a unique number for each run of a repository | [optional] [default to undefined] **is_fork_pull_request** | **boolean** | If this is triggered by a PR from a forked repository or an untrusted user, we need to check if it is approved and limit permissions when running the workflow. | [optional] [default to undefined] **is_ref_deleted** | **boolean** | has the commit/tag/… the action run ran on been deleted | [optional] [default to undefined] **need_approval** | **boolean** | may need approval if it\'s a fork pull request | [optional] [default to undefined] **prettyref** | **string** | the commit/tag/… the action run ran on | [optional] [default to undefined] **repository** | [**Repository**](Repository.md) | | [optional] [default to undefined] **started** | **string** | when the action run was started | [optional] [default to undefined] **status** | **string** | the current status of this run | [optional] [default to undefined] **stopped** | **string** | when the action run was stopped | [optional] [default to undefined] **title** | **string** | the action run\'s title | [optional] [default to undefined] **trigger_event** | **string** | the trigger event defined in the `on` configuration of the triggered workflow | [optional] [default to undefined] **trigger_user** | [**User**](User.md) | | [optional] [default to undefined] **updated** | **string** | when the action run was last updated | [optional] [default to undefined] **workflow_id** | **string** | the name of workflow file | [optional] [default to undefined] ## Example ```typescript import { ActionRun } from 'berg'; const instance: ActionRun = { ScheduleID, approved_by, commit_sha, created, duration, event, event_payload, html_url, id, index_in_repo, is_fork_pull_request, is_ref_deleted, need_approval, prettyref, repository, started, status, stopped, title, trigger_event, trigger_user, updated, workflow_id, }; ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)