diff --git a/content/actions/learn-github-actions/finding-and-customizing-actions.md b/content/actions/learn-github-actions/finding-and-customizing-actions.md index e00413f481..13e9fd6dc8 100644 --- a/content/actions/learn-github-actions/finding-and-customizing-actions.md +++ b/content/actions/learn-github-actions/finding-and-customizing-actions.md @@ -16,7 +16,7 @@ type: how_to topics: - Fundamentals --- - + {% data reusables.actions.enterprise-github-hosted-runners %} ## Overview @@ -50,15 +50,7 @@ You can add an action to your workflow by referencing the action in your workflo You can view the actions referenced in your {% data variables.product.prodname_actions %} workflows as dependencies in the dependency graph of the repository containing your workflows. For more information, see “[About the dependency graph](/code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph).” -{% ifversion fpt or ghec or ghes > 3.4 or ghae > 3.4 %} - -{% note %} - -**Note:** To enhance security, {% data variables.product.prodname_actions %} is deprecating redirects for actions. This means that when the owner or name of an action's repository is changed, any workflows using that action with the previous name will fail. - -{% endnote %} - -{% endif %} +{% data reusables.actions.actions-redirects-workflows %} ### Adding an action from {% data variables.product.prodname_marketplace %} diff --git a/content/actions/managing-workflow-runs/index.md b/content/actions/managing-workflow-runs/index.md index 7b538ec961..087f306e44 100644 --- a/content/actions/managing-workflow-runs/index.md +++ b/content/actions/managing-workflow-runs/index.md @@ -14,16 +14,15 @@ versions: ghae: '*' ghec: '*' children: - - /manually-running-a-workflow - /re-running-workflows-and-jobs - /canceling-a-workflow - /approving-workflow-runs-from-public-forks - /approving-workflow-runs-from-private-forks - /reviewing-deployments - - /disabling-and-enabling-a-workflow - /skipping-workflow-runs - /deleting-a-workflow-run - /downloading-workflow-artifacts - /removing-workflow-artifacts ---- +--- + {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/managing-workflow-runs/disabling-and-enabling-a-workflow.md b/content/actions/using-workflows/disabling-and-enabling-a-workflow.md similarity index 97% rename from content/actions/managing-workflow-runs/disabling-and-enabling-a-workflow.md rename to content/actions/using-workflows/disabling-and-enabling-a-workflow.md index d9f17428a5..a190622b6e 100644 --- a/content/actions/managing-workflow-runs/disabling-and-enabling-a-workflow.md +++ b/content/actions/using-workflows/disabling-and-enabling-a-workflow.md @@ -7,6 +7,8 @@ versions: ghae: '*' ghec: '*' shortTitle: Disable & enable a workflow +redirect_from: + - /actions/managing-workflow-runs/disabling-and-enabling-a-workflow --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/using-workflows/index.md b/content/actions/using-workflows/index.md index a87eb1a1e2..558dbb8e19 100644 --- a/content/actions/using-workflows/index.md +++ b/content/actions/using-workflows/index.md @@ -23,6 +23,8 @@ versions: children: - /about-workflows - /triggering-a-workflow + - /manually-running-a-workflow + - /disabling-and-enabling-a-workflow - /events-that-trigger-workflows - /workflow-syntax-for-github-actions - /workflow-commands-for-github-actions diff --git a/content/actions/managing-workflow-runs/manually-running-a-workflow.md b/content/actions/using-workflows/manually-running-a-workflow.md similarity index 97% rename from content/actions/managing-workflow-runs/manually-running-a-workflow.md rename to content/actions/using-workflows/manually-running-a-workflow.md index b832450a9e..0a78d59bd4 100644 --- a/content/actions/managing-workflow-runs/manually-running-a-workflow.md +++ b/content/actions/using-workflows/manually-running-a-workflow.md @@ -7,8 +7,10 @@ versions: ghae: '*' ghec: '*' shortTitle: Manually run a workflow +redirect_from: + - /actions/managing-workflow-runs/manually-running-a-workflow --- - + {% data reusables.actions.enterprise-github-hosted-runners %} ## Configuring a workflow to run manually diff --git a/content/actions/using-workflows/reusing-workflows.md b/content/actions/using-workflows/reusing-workflows.md index 44b21b3a04..f17bbd911a 100644 --- a/content/actions/using-workflows/reusing-workflows.md +++ b/content/actions/using-workflows/reusing-workflows.md @@ -13,7 +13,7 @@ type: how_to topics: - Workflows --- - + {% data reusables.actions.reusable-workflows-enterprise-beta %} {% data reusables.actions.enterprise-github-hosted-runners %} @@ -57,6 +57,8 @@ A reusable workflow can be used by another workflow if any of the following is t - The called workflow is stored in a private repository and the settings for that repository allow it to be accessed. For more information, see {% ifversion ghes or ghec or ghae %}"[AUTOTITLE](/actions/creating-actions/sharing-actions-and-workflows-with-your-enterprise)."{% else %}"[AUTOTITLE](/actions/creating-actions/sharing-actions-and-workflows-with-your-organization)" and "[AUTOTITLE](/actions/creating-actions/sharing-actions-and-workflows-from-your-private-repository)."{% endif %} {% endif %} +{% data reusables.content.actions.learn-github-actions.finding-and-customizing-actions.md %} + ## Using runners {% ifversion fpt or ghes or ghec %} diff --git a/data/reusables/actions/actions-redirects-workflows.md b/data/reusables/actions/actions-redirects-workflows.md new file mode 100644 index 0000000000..f140ec7d34 --- /dev/null +++ b/data/reusables/actions/actions-redirects-workflows.md @@ -0,0 +1,9 @@ +{% ifversion fpt or ghec or ghes > 3.4 or ghae > 3.4 %} + +{% note %} + +**Note:** To enhance security, {% data variables.product.prodname_actions %} does not support redirects for actions or reusable workflows. This means that when the owner, name of an action's repository, or name of an action is changed, any workflows using that action with the previous name will fail. + +{% endnote %} + +{% endif %}