You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/actions/addSelectedRepoToOrgSecret.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,13 +8,13 @@ type: API method
8
8
9
9
# Add selected repository to an organization secret
10
10
11
-
Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://developer.github.com/v3/actions/secrets/#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.
11
+
Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.
Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://developer.github.com/v3/actions/secrets/#get-an-organization-public-key) endpoint.
114
+
Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/rest/reference/actions#get-an-organization-public-key) endpoint.
113
115
114
116
</td></tr>
115
117
<tr><td>key_id</td><td>no</td><td>
@@ -119,18 +121,18 @@ ID of the key you used to encrypt the secret.
119
121
</td></tr>
120
122
<tr><td>visibility</td><td>no</td><td>
121
123
122
-
Configures the access that repositories have to the organization secret. Can be one of:
123
-
\-`all` - All repositories in an organization can access the secret.
124
-
\-`private` - Private repositories in an organization can access the secret.
124
+
Configures the access that repositories have to the organization secret. Can be one of:
125
+
\-`all` - All repositories in an organization can access the secret.
126
+
\-`private` - Private repositories in an organization can access the secret.
125
127
\-`selected` - Only specific repositories can access the secret.
An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://developer.github.com/v3/actions/secrets/#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://developer.github.com/v3/actions/secrets/#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://developer.github.com/v3/actions/secrets/#remove-selected-repository-from-an-organization-secret) endpoints.
132
+
An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/reference/actions#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/reference/actions#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/reference/actions#remove-selected-repository-from-an-organization-secret) endpoints.
131
133
132
134
</td></tr>
133
135
</tbody>
134
136
</table>
135
137
136
-
See also: [GitHub Developer Guide documentation](https://developer.github.com/v3/actions/secrets/#create-or-update-an-organization-secret).
138
+
See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret).
Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://developer.github.com/v3/actions/secrets/#get-a-repository-public-key) endpoint.
118
+
Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://docs.github.com/rest/reference/actions#get-a-repository-public-key) endpoint.
117
119
118
120
</td></tr>
119
121
<tr><td>key_id</td><td>no</td><td>
@@ -124,4 +126,4 @@ ID of the key you used to encrypt the secret.
124
126
</tbody>
125
127
</table>
126
128
127
-
See also: [GitHub Developer Guide documentation](https://developer.github.com/v3/actions/secrets/#create-or-update-a-repository-secret).
129
+
See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/actions#create-or-update-a-repository-secret).
Copy file name to clipboardExpand all lines: docs/actions/createWorkflowDispatch.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,18 +8,18 @@ type: API method
8
8
9
9
# Create a workflow dispatch event
10
10
11
-
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.yml`.
11
+
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`.
12
12
13
13
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)."
14
14
15
-
You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. For more information, see "[Creating a personal access token for the command line](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line)."
15
+
You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. For more information, see "[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line)."
The ID of the workflow. You can also pass the workflow file name as a string.
46
+
45
47
</td></tr>
46
48
<tr><td>ref</td><td>yes</td><td>
47
49
48
-
The reference of the workflow run. The reference can be a branch, tag, or a commit SHA.
50
+
The git reference for the workflow. The reference can be a branchor tag name.
49
51
50
52
</td></tr>
51
53
<tr><td>inputs</td><td>no</td><td>
52
54
53
-
Input keys and values configured in the workflow file. The maximum number of properties is 10.
55
+
Input keys and values configured in the workflow file. The maximum number of properties is 10. Any default properties configured in the workflow file will be used when `inputs` are omitted.
54
56
55
57
</td></tr>
56
58
<tr><td>inputs.*</td><td>no</td><td>
@@ -59,4 +61,4 @@ Input keys and values configured in the workflow file. The maximum number of pro
59
61
</tbody>
60
62
</table>
61
63
62
-
See also: [GitHub Developer Guide documentation](https://developer.github.com/v3/actions/workflows/#create-a-workflow-dispatch-event).
64
+
See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/actions#create-a-workflow-dispatch-event).
0 commit comments