summaryrefslogtreecommitdiffstats
path: root/descriptions/ghes-2.22/ghes-2.22.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'descriptions/ghes-2.22/ghes-2.22.yaml')
-rw-r--r--descriptions/ghes-2.22/ghes-2.22.yaml16
1 files changed, 8 insertions, 8 deletions
diff --git a/descriptions/ghes-2.22/ghes-2.22.yaml b/descriptions/ghes-2.22/ghes-2.22.yaml
index b556c5179..6b62b2843 100644
--- a/descriptions/ghes-2.22/ghes-2.22.yaml
+++ b/descriptions/ghes-2.22/ghes-2.22.yaml
@@ -1,7 +1,7 @@
---
openapi: 3.0.3
info:
- version: 1.0.0-rc.3
+ version: 1.0.0-rc.4
title: GitHub v3 REST API
description: GitHub's v3 REST API.
license:
@@ -12748,11 +12748,11 @@ paths:
"/repos/{owner}/{repo}/actions/workflows/{workflow_id}":
get:
summary: Get a workflow
- description: Gets a specific workflow. You can also replace `:workflow_id` with
- `:workflow_file_name`. For example, you could use `main.yaml`. Anyone with
- read access to the repository can use this endpoint. If the repository is
- private you must use an access token with the `repo` scope. GitHub Apps must
- have the `actions:read` permission to use this endpoint.
+ description: Gets a specific workflow. You can replace `workflow_id` with the
+ workflow file name. For example, you could use `main.yaml`. Anyone with read
+ access to the repository can use this endpoint. If the repository is private
+ you must use an access token with the `repo` scope. GitHub Apps must have
+ the `actions:read` permission to use this endpoint.
tags:
- actions
operationId: actions/get-workflow
@@ -12783,7 +12783,7 @@ paths:
post:
summary: Create a workflow dispatch event
description: |-
- You can use this endpoint to manually trigger a GitHub Actions workflow run. You can also replace `{workflow_id}` with the workflow file name. For example, you could use `main.yaml`.
+ You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.
You must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see "[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch)."
@@ -12837,7 +12837,7 @@ paths:
get:
summary: List workflow runs
description: |-
- List all workflow runs for a workflow. You can also replace `:workflow_id` with `:workflow_file_name`. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://developer.github.com/enterprise/2.22/v3/#parameters).
+ List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://developer.github.com/enterprise/2.22/v3/#parameters).
Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.
tags: