Skip to content

Commit 276dc39

Browse files
authored
Merge pull request github#36302 from github/repo-sync
Repo sync
2 parents 98c1364 + d2f795d commit 276dc39

File tree

6 files changed

+16
-8
lines changed

6 files changed

+16
-8
lines changed

content/actions/sharing-automations/creating-actions/about-custom-actions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Actions can run directly on a machine or in a Docker container. You can define a
3232

3333
## Types of actions
3434

35-
You can build Docker container, JavaScript, and composite actions. Actions require a metadata file to define the inputs, outputs and main entrypoint for your action. The metadata filename must be either `action.yml` or `action.yaml`. For more information, see [AUTOTITLE](/actions/creating-actions/metadata-syntax-for-github-actions).
35+
You can build Docker container, JavaScript, and composite actions. Actions require a metadata file to define the inputs, outputs and main entrypoint for your action. The metadata filename must be `action.yml`. For more information, see [AUTOTITLE](/actions/creating-actions/metadata-syntax-for-github-actions).
3636

3737
{% rowheaders %}
3838

content/actions/sharing-automations/creating-actions/metadata-syntax-for-github-actions.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ type: reference
1919

2020
## About YAML syntax for {% data variables.product.prodname_actions %}
2121

22-
All actions require a metadata file. The metadata filename must be either `action.yml` or `action.yaml`. The data in the metadata file defines the inputs, outputs, and runs configuration for your action.
22+
All actions require a metadata file. The metadata filename must be either `action.yml` or `action.yaml`. The preferred format is `action.yml`. The data in the metadata file defines the inputs, outputs, and runs configuration for your action.
2323

2424
Action metadata files use YAML syntax. If you're new to YAML, you can read [Learn YAML in five minutes](https://www.codeproject.com/Articles/1214409/Learn-YAML-in-five-minutes).
2525

@@ -771,3 +771,12 @@ Brand icons, and all the following icons, are omitted.
771771
<li>zoom-in</li>
772772
<li>zoom-out</li>
773773
</ul>
774+
775+
{% ifversion fpt or ghec %}
776+
777+
## Changing the metadata file name
778+
779+
While the actions metadata file supports both YAML formats, changing the metadata file name (from `action.yml` to `action.yaml` or vice versa) between releases will affect previous release versions that have been published to {% data variables.product.prodname_marketplace %}. Changing the file name will hide all release versions associated with the previous file name from {% data variables.product.prodname_marketplace %}. Previous release versions will still be accessible to users through the source repository.
780+
781+
When releasing new versions of actions, only versions released after the metadata file name change will have the {% data variables.product.prodname_marketplace %} tag and will show up on {% data variables.product.prodname_marketplace %}
782+
{% endif %}

content/actions/sharing-automations/creating-actions/publishing-actions-in-github-marketplace.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Actions are published to {% data variables.product.prodname_marketplace %} immed
2626
* The action must be in a public repository.
2727
* Each repository must contain a single action.
2828
* Each repository must _not_ contain any workflow files.
29-
* The action's metadata file (`action.yml` or `action.yaml`) must be in the root directory of the repository.
29+
* The action's metadata file (`action.yml`) must be in the root directory of the repository.
3030
* The `name` in the action's metadata file must be unique.
3131
* The `name` cannot match an existing action name published on {% data variables.product.prodname_marketplace %}.
3232
* The `name` cannot match a user or organization on {% data variables.product.prodname_dotcom %}, unless the user or organization owner is publishing the action. For example, only the {% data variables.product.prodname_dotcom %} organization can publish an action named `github`.
@@ -40,7 +40,8 @@ You can add the action you've created to {% data variables.product.prodname_mark
4040
To draft a new release and publish the action to {% data variables.product.prodname_marketplace %}, follow these instructions:
4141

4242
{% data reusables.repositories.navigate-to-repo %}
43-
1. Navigate to the action metadata file in your repository (`action.yml` or `action.yaml`), and you'll see a banner to publish the action to {% data variables.product.prodname_marketplace %}. Click **Draft a release**.
43+
44+
1. Navigate to the action metadata file in your repository (`action.yml`), and you'll see a banner to publish the action to {% data variables.product.prodname_marketplace %}. Click **Draft a release**.
4445
1. Under "Release Action", select **Publish this Action to the {% data variables.product.prodname_marketplace %}**.
4546

4647
> [!NOTE]

content/actions/writing-workflows/choosing-what-your-workflow-does/using-pre-written-building-blocks-in-your-workflow.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ For more information, see [AUTOTITLE](/actions/creating-actions/about-custom-act
165165

166166
An action often accepts or requires inputs and generates outputs that you can use. For example, an action might require you to specify a path to a file, the name of a label, or other data it will use as part of the action processing.
167167

168-
To see the inputs and outputs of an action, check the `action.yml` or `action.yaml` in the root directory of the repository.
168+
To see the inputs and outputs of an action, check the `action.yml` in the root directory of the repository.
169169

170170
In this example `action.yml`, the `inputs` keyword defines a required input called `file-path`, and includes a default value that will be used if none is specified. The `outputs` keyword defines an output called `results-file`, which tells you where to locate the results.
171171

content/copilot/managing-copilot/managing-copilot-for-your-enterprise/managing-policies-and-features-for-copilot-in-your-enterprise.md

-2
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ Some features of {% data variables.product.prodname_copilot_short %} are availab
7575

7676
### Give {% data variables.product.prodname_copilot_short %} access to Bing
7777

78-
> [!NOTE] Bing search integration into {% data variables.product.prodname_copilot_chat_dotcom_short %}, {% data variables.product.prodname_vscode_shortname %}, and {% data variables.product.prodname_vs %} is currently in {% data variables.release-phases.public_preview %} and is subject to change.
79-
8078
{% data variables.product.prodname_copilot_chat %} can use Bing to provide enhanced responses by searching the internet for information related to a question. Bing search is particularly helpful when discussing new technologies or highly specific subjects.
8179

8280
### {% data variables.product.prodname_copilot_short %} access to alternative AI models

data/reusables/rai/copilot/about-copilot-chat-in-mobile.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The response generated by {% data variables.product.prodname_copilot_chat_short
2121
The options available to you in {% data variables.product.prodname_copilot_mobile_short %} vary depending on the {% data variables.product.prodname_copilot %} plan you are using.
2222

2323
* Only people with a {% data variables.product.prodname_copilot_enterprise %} subscription can access and have conversations using the data from private indexed repositories.
24-
* If you have a {% data variables.product.prodname_copilot_enterprise %} subscription and you have enabled Bing search integration ({% data variables.release-phases.public_preview %}), {% data variables.product.prodname_copilot_mobile_short %} may respond using information based on the results of a Bing search. For information on how to enable or disable Bing search integration, see [AUTOTITLE](/copilot/managing-copilot/managing-copilot-for-your-enterprise/managing-policies-and-features-for-copilot-in-your-enterprise){% ifversion fpt %} in the {% data variables.product.prodname_ghe_cloud %} documentation.{% else %}.{% endif %}
24+
* If you have a {% data variables.product.prodname_copilot_enterprise %} subscription and you have enabled Bing search integration, {% data variables.product.prodname_copilot_mobile_short %} may respond using information based on the results of a Bing search. For information on how to enable or disable Bing search integration, see [AUTOTITLE](/copilot/managing-copilot/managing-copilot-for-your-enterprise/managing-policies-and-features-for-copilot-in-your-enterprise){% ifversion fpt %} in the {% data variables.product.prodname_ghe_cloud %} documentation.{% else %}.{% endif %}
2525
* In addition to general coding conversations or conversations about a single file, people with a {% data variables.product.prodname_copilot_pro_short %} subscription have the ability to discuss top popular public repositories using embeddings.
2626

2727
If you do not have a {% data variables.product.prodname_copilot %} subscription, you can purchase a {% data variables.product.prodname_copilot_pro_short %} subscription directly in the iOS version of {% data variables.product.prodname_mobile %}, or in the Google Play Store for the Android version of {% data variables.product.prodname_mobile %}.

0 commit comments

Comments
 (0)