diff --git a/.github/workflows/create-changelog-pr.yml b/.github/workflows/create-changelog-pr.yml new file mode 100644 index 000000000000..7d32c479b147 --- /dev/null +++ b/.github/workflows/create-changelog-pr.yml @@ -0,0 +1,144 @@ +name: Create a PR to add an entry to the CHANGELOG.md file in this repo + +# **What it does**: If a member of the github org posts a changelog comment, it creates a PR to update the CHANGELOG.md file. +# **Why we have it**: This surfaces docs changelog details publicly. +# **Who does it impact**: GitHub users and staff. + +on: + issue_comment: + types: [created] + workflow_dispatch: + +permissions: + contents: write + pull-requests: write + +env: + CHANGELOG_FILE: CHANGELOG.md + +jobs: + docs-changelog-pr: + if: ${{ github.repository == 'github/docs-internal' && github.event.issue.pull_request }} + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: 'Ensure ${{ env.CHANGELOG_FILE }} exists' + run: | + if [ ! -f ${{ env.CHANGELOG_FILE }} ]; then + echo "${{ env.CHANGELOG_FILE }} is missing at the root of the repository." + exit 1 + fi + + - name: Check that the user belongs to the github org + id: hubber_check + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea + with: + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} + script: | + try { + await github.rest.teams.getMembershipForUserInOrg({ + org: 'github', + team_slug: 'employees', + username: context.payload.sender.login, + }); + core.exportVariable('CONTINUE_WORKFLOW', 'true'); + } catch(err) { + core.info("Workflow triggered by a comment, but the commenter is not a Hubber. Exiting."); + core.exportVariable('CONTINUE_WORKFLOW', 'false'); + } + + - name: Check if comment starts with '## Changelog summary' + if: env.CONTINUE_WORKFLOW == 'true' + id: check_summary + env: + COMMENT_BODY: ${{ github.event.comment.body }} + run: | + # Get the first line of the comment and trim the leading/trailing whitespace: + FIRST_LINE=$(printf "%s\n" "$COMMENT_BODY" | head -n1 | sed 's/^[[:space:]]*//;s/[[:space:]]*$//') + if [[ "$FIRST_LINE" != '## Changelog summary' ]]; then + echo "FIRST_LINE=|$FIRST_LINE|" + echo "The pull request comment is not a changelog summary. Exiting." + echo "CONTINUE_WORKFLOW=false" >> $GITHUB_ENV + fi + + - name: Create changelog text + if: env.CONTINUE_WORKFLOW == 'true' + id: create_text + env: + COMMENT_BODY: ${{ github.event.comment.body }} + run: | + set -euo pipefail + DATE=$(date +"**%-d %B %Y**") + BODY="$(printf "%s\n" "$COMMENT_BODY" | tail -n +2)" + CHANGELOG_TEXT="$(printf "%s\n" "$BODY" | awk '/^:writing_hand:/{exit} {print}')" + { + echo "$DATE" + echo -e "$CHANGELOG_TEXT\n
" + } > changelog_entry.txt + + - name: Set up git + if: env.CONTINUE_WORKFLOW == 'true' + run: | + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" + + - name: Prepare branch + if: env.CONTINUE_WORKFLOW == 'true' + run: | + BRANCH="changelog-update-$(date +%s)" + echo "BRANCH=$BRANCH" >> $GITHUB_ENV + git checkout -b "$BRANCH" + + # Insert new changelog entry after the first heading, as follows: + # Print the first line of the existing CHANGELOG.md file into a `tmp` file, followed by an empty line. + # Then, print the contents of `changelog_entry.txt` into the `tmp` file. + # Then, print the rest of the existing CHANGELOG.md file into the `tmp` file. + # Finally, replace the existing CHANGELOG.md file with the `tmp` file. + awk 'NR==1{print; print ""; while ((getline line < "changelog_entry.txt") > 0) print line; next}1' CHANGELOG.md > tmp && mv tmp CHANGELOG.md + + git add CHANGELOG.md + git commit -m "Update changelog for $(head -n1 changelog_entry.txt)" + git push origin "$BRANCH" + + - name: Create a pull request + if: env.CONTINUE_WORKFLOW == 'true' + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea + id: create_pull_request + with: + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} + script: | + const { data: pullRequest } = await github.rest.pulls.create({ + owner: context.repo.owner, + repo: context.repo.repo, + title: `Update docs changelog (for PR #${context.payload.issue.number})`, + body: `### Automated docs changelog update\n\n**Purpose:** Update the ${{ env.CHANGELOG_FILE }} file with details of a recent docs change.\n\nThis PR is an automated update, generated by the create-changelog-pr.yml Actions workflow as a result of a "Changelog summary" comment being added to [PR #${context.payload.issue.number}](${context.payload.issue.html_url}).\n\n**Note for reviewer**: This change to the ${{ env.CHANGELOG_FILE }} file will be synced to the public docs site, so make sure that the content of the entry is appropriate for public consumption. If the content is wholly inappropriate for public consumption, then this PR can be closed.\n\n
Original PR comment posted by @${context.payload.comment.user.login}, using the /changelog slash command:\n\n${context.payload.comment.body}
`, + head: process.env.BRANCH, + base: 'main' + }); + + core.setOutput('pull-request-number', pullRequest.number); + core.setOutput('pull-request-url', pullRequest.html_url); + + - name: Add 'ready-for-doc-review' label to PR + if: env.CONTINUE_WORKFLOW == 'true' + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea + env: + # Get the number of the PR that was just created: + PULL_REQUEST_NUMBER: ${{ steps.create_pull_request.outputs.pull-request-number }} + with: + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} + script: | + await github.rest.issues.addLabels({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: Number(process.env.PULL_REQUEST_NUMBER), + labels: ['ready-for-doc-review'] + }); + + - uses: ./.github/actions/slack-alert + if: ${{ failure() && github.event_name != 'workflow_dispatch' }} + with: + slack_channel_id: ${{ secrets.DOCS_ALERTS_SLACK_CHANNEL_ID }} + slack_token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 000000000000..9f4bde9dfc26 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,31 @@ +# Docs changelog + +**13 June 2025** + +We've published a new article for people learning to code: "[Developing your project locally](https://docs.github.com/en/get-started/learning-to-code/developing-your-project-locally)." + +This tutorial helps learners gain core skills needed to set up any project locally by working through an example client-side application using HTML, CSS, and JavaScript. The goal is to help new coders use GitHub tools to recognize patterns across different technologies and build confidence in their ability to set up any project locally. + +
+ +**13 June 2025** + +To manage System for Cross-domain Identity Management (SCIM) integration with confidence, customers need to understand the different types of deprovisioning, the actions that trigger them, and their options for reinstating deprovisioned users. + +We've published a new article to answer questions around suspending and reinstating Enterprise Managed Users, or users where SCIM is enabled on GitHub Enterprise Server: "[Deprovisioning and reinstating users with SCIM](https://docs.github.com/en/enterprise-cloud@latest/admin/managing-iam/provisioning-user-accounts-with-scim/deprovisioning-and-reinstating-users)". + +
+ +**11 June 2025** + +We've added a new scenario-based guide for the Builder persona: "[Using Copilot to explore a codebase](https://docs.github.com/en/copilot/using-github-copilot/guides-on-using-github-copilot/using-copilot-to-explore-a-codebase)." + +
+ +**24 April 2025** + +To help learners feel confident they are building real coding skills while using Copilot, we published [Setting up Copilot for learning to code](https://docs.github.com/en/get-started/learning-to-code/setting-up-copilot-for-learning-to-code). + +This article helps learners take their first steps in coding with Copilot acting as a tutor, rather than a code completion tool. Configuring Copilot for learning emphasizes skill development and gives learners a way to use Copilot as a daily tool to foster learning and coding independence. + +
diff --git a/Dockerfile b/Dockerfile index aa4cd8cf67a5..8882d15b2980 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ # --------------------------------------------------------------- # To update the sha: # https://github.com/github/gh-base-image/pkgs/container/gh-base-image%2Fgh-base-noble -FROM ghcr.io/github/gh-base-image/gh-base-noble:20250619-223112-g14de19c1f AS base +FROM ghcr.io/github/gh-base-image/gh-base-noble:20250625-211326-g8ecab2454 AS base # Install curl for Node install and determining the early access branch # Install git for cloning docs-early-access & translations repos diff --git a/content/actions/about-github-actions/index.md b/content/actions/about-github-actions/index.md deleted file mode 100644 index fcde128b108c..000000000000 --- a/content/actions/about-github-actions/index.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: About GitHub Actions -shortTitle: About GitHub Actions -intro: '{% data variables.product.prodname_actions %} is a tool that you can use to build automations to assist with each stage of the software development lifecycle. This section describes {% data variables.product.prodname_actions %} concepts, common terminology, and some high level use cases.' -versions: - fpt: '*' - ghes: '*' - ghec: '*' -children: - - /understanding-github-actions ---- - diff --git a/content/actions/get-started/index.md b/content/actions/get-started/index.md new file mode 100644 index 000000000000..e1a1f3581f38 --- /dev/null +++ b/content/actions/get-started/index.md @@ -0,0 +1,14 @@ +--- +title: Get started with GitHub Actions +shortTitle: Get started +intro: "Learn the basics of GitHub Actions." +versions: + fpt: '*' + ghes: '*' + ghec: '*' +children: + - /quickstart + - /understanding-github-actions +redirect_from: + - /actions/about-github-actions +--- diff --git a/content/actions/writing-workflows/quickstart.md b/content/actions/get-started/quickstart.md similarity index 98% rename from content/actions/writing-workflows/quickstart.md rename to content/actions/get-started/quickstart.md index 499b8ad13ecc..9de96bea9ac1 100644 --- a/content/actions/writing-workflows/quickstart.md +++ b/content/actions/get-started/quickstart.md @@ -1,11 +1,12 @@ --- title: Quickstart for GitHub Actions -intro: 'Try out the features of {% data variables.product.prodname_actions %} in 5 minutes or less.' +intro: 'Try out the core features of {% data variables.product.prodname_actions %} in minutes.' allowTitleToDifferFromFilename: true redirect_from: - /actions/getting-started-with-github-actions/starting-with-preconfigured-workflow-templates - /actions/quickstart - /actions/getting-started-with-github-actions + - /actions/writing-workflows/quickstart versions: fpt: '*' ghes: '*' diff --git a/content/actions/about-github-actions/understanding-github-actions.md b/content/actions/get-started/understanding-github-actions.md similarity index 97% rename from content/actions/about-github-actions/understanding-github-actions.md rename to content/actions/get-started/understanding-github-actions.md index 0ebc4f3ad948..8d5f7fbc2c02 100644 --- a/content/actions/about-github-actions/understanding-github-actions.md +++ b/content/actions/get-started/understanding-github-actions.md @@ -1,7 +1,7 @@ --- title: Understanding GitHub Actions shortTitle: Understand GitHub Actions -intro: 'Learn the basics of {% data variables.product.prodname_actions %}, including core concepts and essential terminology.' +intro: 'Learn the basics of core concepts and essential terminology in {% data variables.product.prodname_actions %}.' redirect_from: - /github/automating-your-workflow-with-github-actions/core-concepts-for-github-actions - /actions/automating-your-workflow-with-github-actions/core-concepts-for-github-actions @@ -10,6 +10,7 @@ redirect_from: - /actions/learn-github-actions/understanding-github-actions - /actions/learn-github-actions/essential-features-of-github-actions - /articles/getting-started-with-github-actions + - /actions/about-github-actions/understanding-github-actions versions: fpt: '*' ghes: '*' diff --git a/content/actions/guides.md b/content/actions/guides.md deleted file mode 100644 index 3fddd853502d..000000000000 --- a/content/actions/guides.md +++ /dev/null @@ -1,70 +0,0 @@ ---- -title: 'Guides for {% data variables.product.prodname_actions %}' -intro: 'These guides for {% data variables.product.prodname_actions %} include specific use cases and examples to help you configure workflows.' -allowTitleToDifferFromFilename: true -layout: product-guides -versions: - fpt: '*' - ghes: '*' - ghec: '*' -learningTracks: - - getting_started - - adopting_github_actions_for_your_enterprise_ghec - - adopting_github_actions_for_your_enterprise_ghes - - hosting_your_own_runners - - create_actions -includeGuides: - - /actions/writing-workflows/quickstart - - /actions/about-github-actions/understanding-github-actions - - /actions/tutorials/creating-a-docker-container-action - - /actions/writing-workflows/using-workflow-templates - - /actions/use-cases-and-examples/building-and-testing/building-and-testing-python - - /actions/use-cases-and-examples/building-and-testing/building-and-testing-nodejs - - /actions/concepts/use-cases/about-packaging-with-github-actions - - /actions/use-cases-and-examples/publishing-packages/publishing-docker-images - - /actions/writing-workflows/choosing-what-your-workflow-does/caching-dependencies-to-speed-up-workflows - - /actions/concepts/overview/about-continuous-integration-with-github-actions - - /actions/use-cases-and-examples/building-and-testing/building-and-testing-powershell - - /actions/use-cases-and-examples/building-and-testing/building-and-testing-ruby - - /actions/use-cases-and-examples/building-and-testing/building-and-testing-java-with-maven - - /actions/use-cases-and-examples/building-and-testing/building-and-testing-java-with-gradle - - /actions/use-cases-and-examples/building-and-testing/building-and-testing-java-with-ant - - /actions/use-cases-and-examples/building-and-testing/building-and-testing-swift - - /actions/use-cases-and-examples/deploying/installing-an-apple-certificate-on-macos-runners-for-xcode-development - - /actions/use-cases-and-examples/building-and-testing/building-and-testing-xamarin-applications - - /actions/use-cases-and-examples/publishing-packages/publishing-nodejs-packages - - /actions/use-cases-and-examples/publishing-packages/publishing-java-packages-with-maven - - /actions/use-cases-and-examples/publishing-packages/publishing-java-packages-with-gradle - - /actions/writing-workflows/choosing-what-your-workflow-does/storing-and-sharing-data-from-a-workflow - - /actions/concepts/use-cases/about-service-containers - - /actions/use-cases-and-examples/using-containerized-services/creating-redis-service-containers - - /actions/use-cases-and-examples/using-containerized-services/creating-postgresql-service-containers - - /actions/use-cases-and-examples/deploying/deploying-to-amazon-elastic-container-service - - /actions/use-cases-and-examples/deploying/deploying-to-google-kubernetes-engine - - /actions/concepts/workflows-and-actions/about-custom-actions - - /actions/tutorials/creating-a-javascript-action - - /actions/tutorials/creating-a-composite-action - - /actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-azure-pipelines-to-github-actions - - /actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-circleci-to-github-actions - - /actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-gitlab-cicd-to-github-actions - - /actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-jenkins-to-github-actions - - /actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-travis-ci-to-github-actions - - /actions/concepts/use-cases/using-github-actions-for-project-management - - /actions/use-cases-and-examples/project-management/closing-inactive-issues - - /actions/use-cases-and-examples/project-management/scheduling-issue-creation - - /actions/use-cases-and-examples/project-management/adding-labels-to-issues - - /actions/use-cases-and-examples/project-management/commenting-on-an-issue-when-a-label-is-added - - /actions/use-cases-and-examples/project-management/moving-assigned-issues-on-project-boards - - /actions/use-cases-and-examples/project-management/removing-a-label-when-a-card-is-added-to-a-project-board-column - - /code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions - - /code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot - - /actions/use-cases-and-examples/deploying/deploying-docker-to-azure-app-service - - /actions/use-cases-and-examples/deploying/deploying-java-to-azure-app-service - - /actions/use-cases-and-examples/deploying/deploying-net-to-azure-app-service - - /actions/use-cases-and-examples/deploying/deploying-nodejs-to-azure-app-service - - /actions/use-cases-and-examples/deploying/deploying-php-to-azure-app-service - - /actions/use-cases-and-examples/deploying/deploying-python-to-azure-app-service - - /actions/use-cases-and-examples/deploying/deploying-to-azure-static-web-app - - /actions/use-cases-and-examples/deploying/deploying-to-azure-kubernetes-service ---- - diff --git a/content/actions/administering-github-actions/index.md b/content/actions/how-tos/administering-github-actions/index.md similarity index 87% rename from content/actions/administering-github-actions/index.md rename to content/actions/how-tos/administering-github-actions/index.md index a09af5d1f0a3..0faa1abde778 100644 --- a/content/actions/administering-github-actions/index.md +++ b/content/actions/how-tos/administering-github-actions/index.md @@ -10,5 +10,7 @@ children: - /viewing-github-actions-metrics - /sharing-workflows-secrets-and-runners-with-your-organization - /making-retired-namespaces-available-on-ghecom +redirect_from: + - /actions/administering-github-actions --- diff --git a/content/actions/administering-github-actions/making-retired-namespaces-available-on-ghecom.md b/content/actions/how-tos/administering-github-actions/making-retired-namespaces-available-on-ghecom.md similarity index 96% rename from content/actions/administering-github-actions/making-retired-namespaces-available-on-ghecom.md rename to content/actions/how-tos/administering-github-actions/making-retired-namespaces-available-on-ghecom.md index 0cf4cdfeddc5..512b77ea9b94 100644 --- a/content/actions/administering-github-actions/making-retired-namespaces-available-on-ghecom.md +++ b/content/actions/how-tos/administering-github-actions/making-retired-namespaces-available-on-ghecom.md @@ -6,6 +6,8 @@ versions: ghec: '*' type: how_to permissions: Enterprise owners +redirect_from: + - /actions/administering-github-actions/making-retired-namespaces-available-on-ghecom --- ## About retirement of namespaces diff --git a/content/actions/administering-github-actions/sharing-workflows-secrets-and-runners-with-your-organization.md b/content/actions/how-tos/administering-github-actions/sharing-workflows-secrets-and-runners-with-your-organization.md similarity index 97% rename from content/actions/administering-github-actions/sharing-workflows-secrets-and-runners-with-your-organization.md rename to content/actions/how-tos/administering-github-actions/sharing-workflows-secrets-and-runners-with-your-organization.md index c7e6b6b08f5a..ddec44e72171 100644 --- a/content/actions/administering-github-actions/sharing-workflows-secrets-and-runners-with-your-organization.md +++ b/content/actions/how-tos/administering-github-actions/sharing-workflows-secrets-and-runners-with-your-organization.md @@ -6,6 +6,7 @@ redirect_from: - /actions/learn-github-actions/sharing-workflows-with-your-organization - /actions/learn-github-actions/sharing-workflows-secrets-and-runners-with-your-organization - /actions/using-workflows/sharing-workflows-secrets-and-runners-with-your-organization + - /actions/administering-github-actions/sharing-workflows-secrets-and-runners-with-your-organization versions: fpt: '*' ghes: '*' diff --git a/content/actions/administering-github-actions/viewing-github-actions-metrics.md b/content/actions/how-tos/administering-github-actions/viewing-github-actions-metrics.md similarity index 96% rename from content/actions/administering-github-actions/viewing-github-actions-metrics.md rename to content/actions/how-tos/administering-github-actions/viewing-github-actions-metrics.md index d48f6c3b66e7..a2017c4afcbd 100644 --- a/content/actions/administering-github-actions/viewing-github-actions-metrics.md +++ b/content/actions/how-tos/administering-github-actions/viewing-github-actions-metrics.md @@ -9,6 +9,7 @@ redirect_from: - /actions/monitoring-and-troubleshooting-workflows/viewing-github-actions-usage-metrics-for-your-organization - /actions/administering-github-actions/viewing-github-actions-usage-metrics-for-your-organization - /actions/administering-github-actions/viewing-github-actions-metrics-for-your-organization + - /actions/administering-github-actions/viewing-github-actions-metrics --- {% data reusables.actions.about-actions-metrics %} diff --git a/content/actions/hosting-your-own-runners/index.md b/content/actions/how-tos/hosting-your-own-runners/index.md similarity index 96% rename from content/actions/hosting-your-own-runners/index.md rename to content/actions/how-tos/hosting-your-own-runners/index.md index 6bfc92c4cb66..0c553d87173b 100644 --- a/content/actions/hosting-your-own-runners/index.md +++ b/content/actions/how-tos/hosting-your-own-runners/index.md @@ -11,6 +11,7 @@ redirect_from: - /actions/using-github-hosted-runners/using-labels-with-ae-hosted-runners - /actions/using-github-hosted-runners/using-groups-to-manage-access-to-ae-hosted-runners - /actions/using-github-hosted-runners/creating-custom-images + - /actions/hosting-your-own-runners versions: fpt: '*' ghes: '*' diff --git a/content/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/authenticating-to-the-github-api.md b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/authenticating-to-the-github-api.md similarity index 98% rename from content/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/authenticating-to-the-github-api.md rename to content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/authenticating-to-the-github-api.md index 6023be70831f..27a91d24f251 100644 --- a/content/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/authenticating-to-the-github-api.md +++ b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/authenticating-to-the-github-api.md @@ -10,6 +10,8 @@ type: overview topics: - Actions Runner Controller defaultPlatform: linux +redirect_from: + - /actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/authenticating-to-the-github-api --- [Legal notice](#legal-notice) diff --git a/content/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/deploying-runner-scale-sets-with-actions-runner-controller.md b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/deploying-runner-scale-sets-with-actions-runner-controller.md similarity index 99% rename from content/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/deploying-runner-scale-sets-with-actions-runner-controller.md rename to content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/deploying-runner-scale-sets-with-actions-runner-controller.md index f3ad244ac31f..032391003d51 100644 --- a/content/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/deploying-runner-scale-sets-with-actions-runner-controller.md +++ b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/deploying-runner-scale-sets-with-actions-runner-controller.md @@ -10,6 +10,8 @@ type: overview topics: - Actions Runner Controller defaultPlatform: linux +redirect_from: + - /actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/deploying-runner-scale-sets-with-actions-runner-controller --- [Legal notice](#legal-notice) diff --git a/content/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/index.md b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/index.md similarity index 83% rename from content/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/index.md rename to content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/index.md index 32cdef956363..4e728969b4ac 100644 --- a/content/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/index.md +++ b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/index.md @@ -13,6 +13,8 @@ children: - /deploying-runner-scale-sets-with-actions-runner-controller - /using-actions-runner-controller-runners-in-a-workflow - /troubleshooting-actions-runner-controller-errors +redirect_from: + - /actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/troubleshooting-actions-runner-controller-errors.md b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/troubleshooting-actions-runner-controller-errors.md similarity index 98% rename from content/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/troubleshooting-actions-runner-controller-errors.md rename to content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/troubleshooting-actions-runner-controller-errors.md index 8b543dda6fa1..3d7a08ce64da 100644 --- a/content/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/troubleshooting-actions-runner-controller-errors.md +++ b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/troubleshooting-actions-runner-controller-errors.md @@ -9,6 +9,8 @@ versions: type: how_to topics: - Actions Runner Controller +redirect_from: + - /actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/troubleshooting-actions-runner-controller-errors --- [Legal notice](#legal-notice) diff --git a/content/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/using-actions-runner-controller-runners-in-a-workflow.md b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/using-actions-runner-controller-runners-in-a-workflow.md similarity index 93% rename from content/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/using-actions-runner-controller-runners-in-a-workflow.md rename to content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/using-actions-runner-controller-runners-in-a-workflow.md index 4ce3d132a3fa..7171004cfb14 100644 --- a/content/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/using-actions-runner-controller-runners-in-a-workflow.md +++ b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/using-actions-runner-controller-runners-in-a-workflow.md @@ -10,6 +10,8 @@ type: overview topics: - Actions Runner Controller defaultPlatform: linux +redirect_from: + - /actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/using-actions-runner-controller-runners-in-a-workflow --- [Legal notice](#legal-notice) diff --git a/content/actions/hosting-your-own-runners/managing-self-hosted-runners/adding-self-hosted-runners.md b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/adding-self-hosted-runners.md similarity index 98% rename from content/actions/hosting-your-own-runners/managing-self-hosted-runners/adding-self-hosted-runners.md rename to content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/adding-self-hosted-runners.md index 87a4dda130fb..01999592c141 100644 --- a/content/actions/hosting-your-own-runners/managing-self-hosted-runners/adding-self-hosted-runners.md +++ b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/adding-self-hosted-runners.md @@ -5,6 +5,7 @@ redirect_from: - /github/automating-your-workflow-with-github-actions/adding-self-hosted-runners - /actions/automating-your-workflow-with-github-actions/adding-self-hosted-runners - /actions/hosting-your-own-runners/adding-self-hosted-runners + - /actions/hosting-your-own-runners/managing-self-hosted-runners/adding-self-hosted-runners versions: fpt: '*' ghes: '*' diff --git a/content/actions/hosting-your-own-runners/managing-self-hosted-runners/autoscaling-with-self-hosted-runners.md b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/autoscaling-with-self-hosted-runners.md similarity index 98% rename from content/actions/hosting-your-own-runners/managing-self-hosted-runners/autoscaling-with-self-hosted-runners.md rename to content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/autoscaling-with-self-hosted-runners.md index c76382f66238..7f4bb254185a 100644 --- a/content/actions/hosting-your-own-runners/managing-self-hosted-runners/autoscaling-with-self-hosted-runners.md +++ b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/autoscaling-with-self-hosted-runners.md @@ -4,6 +4,7 @@ shortTitle: Autoscale self-hosted runners intro: You can automatically scale your self-hosted runners in response to webhook events. redirect_from: - /actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners + - /actions/hosting-your-own-runners/managing-self-hosted-runners/autoscaling-with-self-hosted-runners versions: fpt: '*' ghec: '*' diff --git a/content/actions/hosting-your-own-runners/managing-self-hosted-runners/configuring-the-self-hosted-runner-application-as-a-service.md b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/configuring-the-self-hosted-runner-application-as-a-service.md similarity index 97% rename from content/actions/hosting-your-own-runners/managing-self-hosted-runners/configuring-the-self-hosted-runner-application-as-a-service.md rename to content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/configuring-the-self-hosted-runner-application-as-a-service.md index dba917f89376..d7f17baa0402 100644 --- a/content/actions/hosting-your-own-runners/managing-self-hosted-runners/configuring-the-self-hosted-runner-application-as-a-service.md +++ b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/configuring-the-self-hosted-runner-application-as-a-service.md @@ -5,6 +5,7 @@ intro: You can configure the self-hosted runner application as a service to auto redirect_from: - /actions/automating-your-workflow-with-github-actions/configuring-the-self-hosted-runner-application-as-a-service - /actions/hosting-your-own-runners/configuring-the-self-hosted-runner-application-as-a-service + - /actions/hosting-your-own-runners/managing-self-hosted-runners/configuring-the-self-hosted-runner-application-as-a-service versions: fpt: '*' ghes: '*' diff --git a/content/actions/hosting-your-own-runners/managing-self-hosted-runners/customizing-the-containers-used-by-jobs.md b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/customizing-the-containers-used-by-jobs.md similarity index 99% rename from content/actions/hosting-your-own-runners/managing-self-hosted-runners/customizing-the-containers-used-by-jobs.md rename to content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/customizing-the-containers-used-by-jobs.md index c8d88e1a7bb3..566ed70513dd 100644 --- a/content/actions/hosting-your-own-runners/managing-self-hosted-runners/customizing-the-containers-used-by-jobs.md +++ b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/customizing-the-containers-used-by-jobs.md @@ -3,6 +3,7 @@ title: Customizing the containers used by jobs intro: You can customize how your self-hosted runner invokes a container for a job. redirect_from: - /actions/hosting-your-own-runners/customizing-the-containers-used-by-jobs + - /actions/hosting-your-own-runners/managing-self-hosted-runners/customizing-the-containers-used-by-jobs versions: feature: container-hooks type: reference diff --git a/content/actions/hosting-your-own-runners/managing-self-hosted-runners/index.md b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/index.md similarity index 90% rename from content/actions/hosting-your-own-runners/managing-self-hosted-runners/index.md rename to content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/index.md index ba7e6fa515f3..c5658ec1c394 100644 --- a/content/actions/hosting-your-own-runners/managing-self-hosted-runners/index.md +++ b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/index.md @@ -18,6 +18,8 @@ children: - /managing-access-to-self-hosted-runners-using-groups - /monitoring-and-troubleshooting-self-hosted-runners - /removing-self-hosted-runners +redirect_from: + - /actions/hosting-your-own-runners/managing-self-hosted-runners --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/hosting-your-own-runners/managing-self-hosted-runners/managing-access-to-self-hosted-runners-using-groups.md b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/managing-access-to-self-hosted-runners-using-groups.md similarity index 98% rename from content/actions/hosting-your-own-runners/managing-self-hosted-runners/managing-access-to-self-hosted-runners-using-groups.md rename to content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/managing-access-to-self-hosted-runners-using-groups.md index 2b4cf0812250..bb27f3f58d32 100644 --- a/content/actions/hosting-your-own-runners/managing-self-hosted-runners/managing-access-to-self-hosted-runners-using-groups.md +++ b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/managing-access-to-self-hosted-runners-using-groups.md @@ -7,6 +7,7 @@ redirect_from: - /actions/hosting-your-own-runners/managing-self-hosted-runners/managing-access-to-self-hosted-runners - /actions/hosting-your-own-runners/managing-access-to-self-hosted-runners - /actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups + - /actions/hosting-your-own-runners/managing-self-hosted-runners/managing-access-to-self-hosted-runners-using-groups versions: fpt: '*' ghes: '*' diff --git a/content/actions/hosting-your-own-runners/managing-self-hosted-runners/monitoring-and-troubleshooting-self-hosted-runners.md b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/monitoring-and-troubleshooting-self-hosted-runners.md similarity index 99% rename from content/actions/hosting-your-own-runners/managing-self-hosted-runners/monitoring-and-troubleshooting-self-hosted-runners.md rename to content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/monitoring-and-troubleshooting-self-hosted-runners.md index adae1d1a1d38..edaf7a2e9c94 100644 --- a/content/actions/hosting-your-own-runners/managing-self-hosted-runners/monitoring-and-troubleshooting-self-hosted-runners.md +++ b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/monitoring-and-troubleshooting-self-hosted-runners.md @@ -6,6 +6,7 @@ redirect_from: - /github/automating-your-workflow-with-github-actions/checking-the-status-of-self-hosted-runners - /actions/automating-your-workflow-with-github-actions/checking-the-status-of-self-hosted-runners - /actions/hosting-your-own-runners/checking-the-status-of-self-hosted-runners + - /actions/hosting-your-own-runners/managing-self-hosted-runners/monitoring-and-troubleshooting-self-hosted-runners versions: fpt: '*' ghes: '*' diff --git a/content/actions/hosting-your-own-runners/managing-self-hosted-runners/removing-self-hosted-runners.md b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/removing-self-hosted-runners.md similarity index 97% rename from content/actions/hosting-your-own-runners/managing-self-hosted-runners/removing-self-hosted-runners.md rename to content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/removing-self-hosted-runners.md index 86e8767049b3..e3af486886d4 100644 --- a/content/actions/hosting-your-own-runners/managing-self-hosted-runners/removing-self-hosted-runners.md +++ b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/removing-self-hosted-runners.md @@ -5,6 +5,7 @@ redirect_from: - /github/automating-your-workflow-with-github-actions/removing-self-hosted-runners - /actions/automating-your-workflow-with-github-actions/removing-self-hosted-runners - /actions/hosting-your-own-runners/removing-self-hosted-runners + - /actions/hosting-your-own-runners/managing-self-hosted-runners/removing-self-hosted-runners versions: fpt: '*' ghes: '*' diff --git a/content/actions/hosting-your-own-runners/managing-self-hosted-runners/running-scripts-before-or-after-a-job.md b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/running-scripts-before-or-after-a-job.md similarity index 98% rename from content/actions/hosting-your-own-runners/managing-self-hosted-runners/running-scripts-before-or-after-a-job.md rename to content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/running-scripts-before-or-after-a-job.md index e618650a7815..09ebe753af48 100644 --- a/content/actions/hosting-your-own-runners/managing-self-hosted-runners/running-scripts-before-or-after-a-job.md +++ b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/running-scripts-before-or-after-a-job.md @@ -3,6 +3,7 @@ title: Running scripts before or after a job intro: 'Scripts can automatically execute on a self-hosted runner, directly before or after a job.' redirect_from: - /actions/hosting-your-own-runners/running-scripts-before-or-after-a-job + - /actions/hosting-your-own-runners/managing-self-hosted-runners/running-scripts-before-or-after-a-job versions: fpt: '*' ghes: '*' diff --git a/content/actions/hosting-your-own-runners/managing-self-hosted-runners/using-a-proxy-server-with-self-hosted-runners.md b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/using-a-proxy-server-with-self-hosted-runners.md similarity index 96% rename from content/actions/hosting-your-own-runners/managing-self-hosted-runners/using-a-proxy-server-with-self-hosted-runners.md rename to content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/using-a-proxy-server-with-self-hosted-runners.md index 0293bc05fb15..e161f8c92b0c 100644 --- a/content/actions/hosting-your-own-runners/managing-self-hosted-runners/using-a-proxy-server-with-self-hosted-runners.md +++ b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/using-a-proxy-server-with-self-hosted-runners.md @@ -4,6 +4,7 @@ intro: 'You can configure self-hosted runners to use a proxy server to communica redirect_from: - /actions/automating-your-workflow-with-github-actions/using-a-proxy-server-with-self-hosted-runners - /actions/hosting-your-own-runners/using-a-proxy-server-with-self-hosted-runners + - /actions/hosting-your-own-runners/managing-self-hosted-runners/using-a-proxy-server-with-self-hosted-runners versions: fpt: '*' ghes: '*' diff --git a/content/actions/hosting-your-own-runners/managing-self-hosted-runners/using-labels-with-self-hosted-runners.md b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/using-labels-with-self-hosted-runners.md similarity index 98% rename from content/actions/hosting-your-own-runners/managing-self-hosted-runners/using-labels-with-self-hosted-runners.md rename to content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/using-labels-with-self-hosted-runners.md index ef75817a61c0..5b4d4589d799 100644 --- a/content/actions/hosting-your-own-runners/managing-self-hosted-runners/using-labels-with-self-hosted-runners.md +++ b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/using-labels-with-self-hosted-runners.md @@ -3,6 +3,7 @@ title: Using labels with self-hosted runners intro: You can use labels to organize your self-hosted runners based on their characteristics. redirect_from: - /actions/hosting-your-own-runners/using-labels-with-self-hosted-runners + - /actions/hosting-your-own-runners/managing-self-hosted-runners/using-labels-with-self-hosted-runners versions: fpt: '*' ghes: '*' diff --git a/content/actions/hosting-your-own-runners/managing-self-hosted-runners/using-self-hosted-runners-in-a-workflow.md b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/using-self-hosted-runners-in-a-workflow.md similarity index 98% rename from content/actions/hosting-your-own-runners/managing-self-hosted-runners/using-self-hosted-runners-in-a-workflow.md rename to content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/using-self-hosted-runners-in-a-workflow.md index 4c7c0d644627..b3ba14051a04 100644 --- a/content/actions/hosting-your-own-runners/managing-self-hosted-runners/using-self-hosted-runners-in-a-workflow.md +++ b/content/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/using-self-hosted-runners-in-a-workflow.md @@ -5,6 +5,7 @@ redirect_from: - /github/automating-your-workflow-with-github-actions/using-self-hosted-runners-in-a-workflow - /actions/automating-your-workflow-with-github-actions/using-self-hosted-runners-in-a-workflow - /actions/hosting-your-own-runners/using-self-hosted-runners-in-a-workflow + - /actions/hosting-your-own-runners/managing-self-hosted-runners/using-self-hosted-runners-in-a-workflow versions: fpt: '*' ghes: '*' diff --git a/content/actions/how-tos/index.md b/content/actions/how-tos/index.md new file mode 100644 index 000000000000..d26d4a07d58e --- /dev/null +++ b/content/actions/how-tos/index.md @@ -0,0 +1,20 @@ +--- +title: How-tos for GitHub Actions +shortTitle: How-tos +intro: "Learn how to accomplish specific goals with GitHub Actions." +versions: + fpt: '*' + ghes: '*' + ghec: '*' +children: + - /writing-workflows + - /managing-workflow-runs-and-deployments + - /sharing-automations + - /monitoring-and-troubleshooting-workflows + - /using-github-hosted-runners + - /hosting-your-own-runners + - /security-for-github-actions + - /use-cases-and-examples + - /migrating-to-github-actions + - /administering-github-actions +--- \ No newline at end of file diff --git a/content/actions/managing-workflow-runs-and-deployments/index.md b/content/actions/how-tos/managing-workflow-runs-and-deployments/index.md similarity index 94% rename from content/actions/managing-workflow-runs-and-deployments/index.md rename to content/actions/how-tos/managing-workflow-runs-and-deployments/index.md index 96d0567b7481..bedea9ddd462 100644 --- a/content/actions/managing-workflow-runs-and-deployments/index.md +++ b/content/actions/how-tos/managing-workflow-runs-and-deployments/index.md @@ -9,6 +9,7 @@ redirect_from: - /actions/automating-your-workflow-with-github-actions/managing-a-workflow-run - /actions/configuring-and-managing-workflows/configuring-and-managing-workflow-files-and-runs - /actions/managing-workflow-runs + - /actions/managing-workflow-runs-and-deployments versions: fpt: '*' ghes: '*' diff --git a/content/actions/managing-workflow-runs-and-deployments/managing-deployments/configuring-custom-deployment-protection-rules.md b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-deployments/configuring-custom-deployment-protection-rules.md similarity index 97% rename from content/actions/managing-workflow-runs-and-deployments/managing-deployments/configuring-custom-deployment-protection-rules.md rename to content/actions/how-tos/managing-workflow-runs-and-deployments/managing-deployments/configuring-custom-deployment-protection-rules.md index 25f09394cb6c..08670f265535 100644 --- a/content/actions/managing-workflow-runs-and-deployments/managing-deployments/configuring-custom-deployment-protection-rules.md +++ b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-deployments/configuring-custom-deployment-protection-rules.md @@ -13,6 +13,7 @@ topics: - Deployment redirect_from: - /actions/deployment/protecting-deployments/configuring-custom-deployment-protection-rules + - /actions/managing-workflow-runs-and-deployments/managing-workflow-deployments/configuring-custom-deployment-protection-rules --- {% data reusables.actions.custom-deployment-protection-rules-beta-note %} diff --git a/content/actions/managing-workflow-runs-and-deployments/managing-deployments/creating-custom-deployment-protection-rules.md b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-deployments/creating-custom-deployment-protection-rules.md similarity index 98% rename from content/actions/managing-workflow-runs-and-deployments/managing-deployments/creating-custom-deployment-protection-rules.md rename to content/actions/how-tos/managing-workflow-runs-and-deployments/managing-deployments/creating-custom-deployment-protection-rules.md index b8b9bc5b2a1d..a5fe6d44b4a6 100644 --- a/content/actions/managing-workflow-runs-and-deployments/managing-deployments/creating-custom-deployment-protection-rules.md +++ b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-deployments/creating-custom-deployment-protection-rules.md @@ -13,6 +13,7 @@ topics: - Deployment redirect_from: - /actions/deployment/protecting-deployments/creating-custom-deployment-protection-rules + - /actions/managing-workflow-runs-and-deployments/managing-workflow-deployments/creating-custom-deployment-protection-rules --- {% data reusables.actions.custom-deployment-protection-rules-beta-note %} diff --git a/content/actions/managing-workflow-runs-and-deployments/managing-deployments/index.md b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-deployments/index.md similarity index 86% rename from content/actions/managing-workflow-runs-and-deployments/managing-deployments/index.md rename to content/actions/how-tos/managing-workflow-runs-and-deployments/managing-deployments/index.md index 086e954c7298..8d13b0c15460 100644 --- a/content/actions/managing-workflow-runs-and-deployments/managing-deployments/index.md +++ b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-deployments/index.md @@ -5,6 +5,7 @@ intro: 'View your deployment history and configure rules to protect your deploym redirect_from: - /actions/deployment/managing-your-deployments - /actions/deployment/protecting-deployments + - /actions/managing-workflow-runs-and-deployments/managing-workflow-deployments versions: fpt: '*' ghes: '*' diff --git a/content/actions/managing-workflow-runs-and-deployments/managing-deployments/managing-environments-for-deployment.md b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-deployments/managing-environments-for-deployment.md similarity index 98% rename from content/actions/managing-workflow-runs-and-deployments/managing-deployments/managing-environments-for-deployment.md rename to content/actions/how-tos/managing-workflow-runs-and-deployments/managing-deployments/managing-environments-for-deployment.md index 5443e87d2def..d948f9f7993c 100644 --- a/content/actions/managing-workflow-runs-and-deployments/managing-deployments/managing-environments-for-deployment.md +++ b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-deployments/managing-environments-for-deployment.md @@ -12,6 +12,8 @@ redirect_from: - /actions/deployment/targeting-different-environments - /actions/deployment/targeting-different-environments/managing-environments-for-deployment - /actions/administering-github-actions/managing-environments-for-deployment + - /actions/managing-workflow-runs-and-deployments/managing-workflow-deployments/managing-environments-for-deployment + - /actions/managing-workflow-runs-and-deployments/managing-deployments/managing-environments-for-deployment topics: - CD - Deployment diff --git a/content/actions/managing-workflow-runs-and-deployments/managing-deployments/reviewing-deployments.md b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-deployments/reviewing-deployments.md similarity index 97% rename from content/actions/managing-workflow-runs-and-deployments/managing-deployments/reviewing-deployments.md rename to content/actions/how-tos/managing-workflow-runs-and-deployments/managing-deployments/reviewing-deployments.md index 5c84641d3f43..6e3d149a4486 100644 --- a/content/actions/managing-workflow-runs-and-deployments/managing-deployments/reviewing-deployments.md +++ b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-deployments/reviewing-deployments.md @@ -9,6 +9,7 @@ versions: ghec: '*' redirect_from: - /actions/managing-workflow-runs/reviewing-deployments + - /actions/managing-workflow-runs-and-deployments/managing-workflow-deployments/reviewing-deployments --- diff --git a/content/actions/managing-workflow-runs-and-deployments/managing-deployments/viewing-deployment-history.md b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-deployments/viewing-deployment-history.md similarity index 96% rename from content/actions/managing-workflow-runs-and-deployments/managing-deployments/viewing-deployment-history.md rename to content/actions/how-tos/managing-workflow-runs-and-deployments/managing-deployments/viewing-deployment-history.md index 76e32a345cdf..a93fa594a624 100644 --- a/content/actions/managing-workflow-runs-and-deployments/managing-deployments/viewing-deployment-history.md +++ b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-deployments/viewing-deployment-history.md @@ -12,6 +12,7 @@ redirect_from: - /developers/overview/viewing-deployment-history - /actions/deployment/viewing-deployment-history - /actions/deployment/managing-your-deployments/viewing-deployment-history + - /actions/managing-workflow-runs-and-deployments/managing-workflow-deployments/viewing-deployment-history --- ## About deployment history diff --git a/content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/approving-workflow-runs-from-private-forks.md b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/approving-workflow-runs-from-private-forks.md similarity index 88% rename from content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/approving-workflow-runs-from-private-forks.md rename to content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/approving-workflow-runs-from-private-forks.md index 0803f64d56a3..30ab7eb0b479 100644 --- a/content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/approving-workflow-runs-from-private-forks.md +++ b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/approving-workflow-runs-from-private-forks.md @@ -9,6 +9,7 @@ versions: shortTitle: Approve private fork runs redirect_from: - /actions/managing-workflow-runs/approving-workflow-runs-from-private-forks + - /actions/managing-workflow-runs-and-deployments/managing-workflow-runs/approving-workflow-runs-from-private-forks --- ## About workflow runs from private forks diff --git a/content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/approving-workflow-runs-from-public-forks.md b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/approving-workflow-runs-from-public-forks.md similarity index 92% rename from content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/approving-workflow-runs-from-public-forks.md rename to content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/approving-workflow-runs-from-public-forks.md index 0be49da7d885..909b55c6c26a 100644 --- a/content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/approving-workflow-runs-from-public-forks.md +++ b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/approving-workflow-runs-from-public-forks.md @@ -8,6 +8,7 @@ versions: shortTitle: Approve public fork runs redirect_from: - /actions/managing-workflow-runs/approving-workflow-runs-from-public-forks + - /actions/managing-workflow-runs-and-deployments/managing-workflow-runs/approving-workflow-runs-from-public-forks --- ## About workflow runs from public forks diff --git a/content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/canceling-a-workflow.md b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/canceling-a-workflow.md similarity index 96% rename from content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/canceling-a-workflow.md rename to content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/canceling-a-workflow.md index 3437dcee1a06..a741e51c0f66 100644 --- a/content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/canceling-a-workflow.md +++ b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/canceling-a-workflow.md @@ -8,6 +8,7 @@ versions: ghec: '*' redirect_from: - /actions/managing-workflow-runs/canceling-a-workflow + - /actions/managing-workflow-runs-and-deployments/managing-workflow-runs/canceling-a-workflow --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/deleting-a-workflow-run.md b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/deleting-a-workflow-run.md similarity index 90% rename from content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/deleting-a-workflow-run.md rename to content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/deleting-a-workflow-run.md index d718fb0f81b1..1b9497ea5ec3 100644 --- a/content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/deleting-a-workflow-run.md +++ b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/deleting-a-workflow-run.md @@ -8,6 +8,7 @@ versions: ghec: '*' redirect_from: - /actions/managing-workflow-runs/deleting-a-workflow-run + - /actions/managing-workflow-runs-and-deployments/managing-workflow-runs/deleting-a-workflow-run --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/disabling-and-enabling-a-workflow.md b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/disabling-and-enabling-a-workflow.md similarity index 96% rename from content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/disabling-and-enabling-a-workflow.md rename to content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/disabling-and-enabling-a-workflow.md index 346ce637c8ca..fe1072aec470 100644 --- a/content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/disabling-and-enabling-a-workflow.md +++ b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/disabling-and-enabling-a-workflow.md @@ -9,6 +9,7 @@ shortTitle: Disable & enable a workflow redirect_from: - /actions/managing-workflow-runs/disabling-and-enabling-a-workflow - /actions/using-workflows/disabling-and-enabling-a-workflow + - /actions/managing-workflow-runs-and-deployments/managing-workflow-runs/disabling-and-enabling-a-workflow --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/downloading-workflow-artifacts.md b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/downloading-workflow-artifacts.md similarity index 96% rename from content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/downloading-workflow-artifacts.md rename to content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/downloading-workflow-artifacts.md index f85df5110520..cd8e3b638232 100644 --- a/content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/downloading-workflow-artifacts.md +++ b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/downloading-workflow-artifacts.md @@ -9,6 +9,7 @@ versions: shortTitle: Download workflow artifacts redirect_from: - /actions/managing-workflow-runs/downloading-workflow-artifacts + - /actions/managing-workflow-runs-and-deployments/managing-workflow-runs/downloading-workflow-artifacts --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/index.md b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/index.md similarity index 86% rename from content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/index.md rename to content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/index.md index 4804327b0cca..c5e424a68e25 100644 --- a/content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/index.md +++ b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/index.md @@ -17,5 +17,7 @@ children: - /removing-workflow-artifacts - /approving-workflow-runs-from-public-forks - /approving-workflow-runs-from-private-forks +redirect_from: + - /actions/managing-workflow-runs-and-deployments/managing-workflow-runs --- diff --git a/content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/manually-running-a-workflow.md b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/manually-running-a-workflow.md similarity index 97% rename from content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/manually-running-a-workflow.md rename to content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/manually-running-a-workflow.md index 9e50e485705d..3f2031f90b2b 100644 --- a/content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/manually-running-a-workflow.md +++ b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/manually-running-a-workflow.md @@ -9,6 +9,7 @@ shortTitle: Manually run a workflow redirect_from: - /actions/managing-workflow-runs/manually-running-a-workflow - /actions/using-workflows/manually-running-a-workflow + - /actions/managing-workflow-runs-and-deployments/managing-workflow-runs/manually-running-a-workflow --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/re-running-workflows-and-jobs.md b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/re-running-workflows-and-jobs.md similarity index 98% rename from content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/re-running-workflows-and-jobs.md rename to content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/re-running-workflows-and-jobs.md index 841b3fbf3a98..80178abd013f 100644 --- a/content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/re-running-workflows-and-jobs.md +++ b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/re-running-workflows-and-jobs.md @@ -6,6 +6,7 @@ permissions: People with write permissions to a repository can re-run workflows redirect_from: - /actions/managing-workflow-runs/re-running-a-workflow - /actions/managing-workflow-runs/re-running-workflows-and-jobs + - /actions/managing-workflow-runs-and-deployments/managing-workflow-runs/re-running-workflows-and-jobs versions: fpt: '*' ghes: '*' diff --git a/content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/removing-workflow-artifacts.md b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/removing-workflow-artifacts.md similarity index 95% rename from content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/removing-workflow-artifacts.md rename to content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/removing-workflow-artifacts.md index 9add4cef0404..5bcb9b6b59ec 100644 --- a/content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/removing-workflow-artifacts.md +++ b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/removing-workflow-artifacts.md @@ -8,6 +8,7 @@ versions: shortTitle: Remove workflow artifacts redirect_from: - /actions/managing-workflow-runs/removing-workflow-artifacts + - /actions/managing-workflow-runs-and-deployments/managing-workflow-runs/removing-workflow-artifacts --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/skipping-workflow-runs.md b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/skipping-workflow-runs.md similarity index 95% rename from content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/skipping-workflow-runs.md rename to content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/skipping-workflow-runs.md index ea3c30b9e5d4..030bf3ff48cb 100644 --- a/content/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/skipping-workflow-runs.md +++ b/content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/skipping-workflow-runs.md @@ -8,6 +8,7 @@ versions: shortTitle: Skip workflow runs redirect_from: - /actions/managing-workflow-runs/skipping-workflow-runs + - /actions/managing-workflow-runs-and-deployments/managing-workflow-runs/skipping-workflow-runs --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/migrating-to-github-actions/index.md b/content/actions/how-tos/migrating-to-github-actions/index.md similarity index 91% rename from content/actions/migrating-to-github-actions/index.md rename to content/actions/how-tos/migrating-to-github-actions/index.md index 8bb45276cb35..3f6f87b4206b 100644 --- a/content/actions/migrating-to-github-actions/index.md +++ b/content/actions/how-tos/migrating-to-github-actions/index.md @@ -8,6 +8,7 @@ versions: ghec: '*' redirect_from: - /articles/migrating-github-actions-from-hcl-syntax-to-yaml-syntax + - /actions/migrating-to-github-actions children: - /using-github-actions-importer-to-automate-migrations - /manually-migrating-to-github-actions diff --git a/content/actions/migrating-to-github-actions/manually-migrating-to-github-actions/index.md b/content/actions/how-tos/migrating-to-github-actions/manually-migrating-to-github-actions/index.md similarity index 88% rename from content/actions/migrating-to-github-actions/manually-migrating-to-github-actions/index.md rename to content/actions/how-tos/migrating-to-github-actions/manually-migrating-to-github-actions/index.md index c85471eed867..3006d0a3d27e 100644 --- a/content/actions/migrating-to-github-actions/manually-migrating-to-github-actions/index.md +++ b/content/actions/how-tos/migrating-to-github-actions/manually-migrating-to-github-actions/index.md @@ -14,5 +14,6 @@ children: - /migrating-from-travis-ci-to-github-actions redirect_from: - /actions/migrating-to-github-actions/manual-migrations + - /actions/migrating-to-github-actions/manually-migrating-to-github-actions --- diff --git a/content/actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-azure-pipelines-to-github-actions.md b/content/actions/how-tos/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-azure-pipelines-to-github-actions.md similarity index 98% rename from content/actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-azure-pipelines-to-github-actions.md rename to content/actions/how-tos/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-azure-pipelines-to-github-actions.md index 93799bd44a97..141614eec503 100644 --- a/content/actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-azure-pipelines-to-github-actions.md +++ b/content/actions/how-tos/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-azure-pipelines-to-github-actions.md @@ -5,6 +5,7 @@ redirect_from: - /actions/learn-github-actions/migrating-from-azure-pipelines-to-github-actions - /actions/migrating-to-github-actions/migrating-from-azure-pipelines-to-github-actions - /actions/migrating-to-github-actions/manual-migrations/migrating-from-azure-pipelines-to-github-actions + - /actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-azure-pipelines-to-github-actions versions: fpt: '*' ghes: '*' diff --git a/content/actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-circleci-to-github-actions.md b/content/actions/how-tos/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-circleci-to-github-actions.md similarity index 99% rename from content/actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-circleci-to-github-actions.md rename to content/actions/how-tos/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-circleci-to-github-actions.md index 66c5c8f7b115..764af958709c 100644 --- a/content/actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-circleci-to-github-actions.md +++ b/content/actions/how-tos/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-circleci-to-github-actions.md @@ -5,6 +5,7 @@ redirect_from: - /actions/learn-github-actions/migrating-from-circleci-to-github-actions - /actions/migrating-to-github-actions/migrating-from-circleci-to-github-actions - /actions/migrating-to-github-actions/manual-migrations/migrating-from-circleci-to-github-actions + - /actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-circleci-to-githib-actions versions: fpt: '*' ghes: '*' diff --git a/content/actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-gitlab-cicd-to-github-actions.md b/content/actions/how-tos/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-gitlab-cicd-to-github-actions.md similarity index 98% rename from content/actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-gitlab-cicd-to-github-actions.md rename to content/actions/how-tos/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-gitlab-cicd-to-github-actions.md index a2afb0410283..a2d6f1d8bbbe 100644 --- a/content/actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-gitlab-cicd-to-github-actions.md +++ b/content/actions/how-tos/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-gitlab-cicd-to-github-actions.md @@ -5,6 +5,7 @@ redirect_from: - /actions/learn-github-actions/migrating-from-gitlab-cicd-to-github-actions - /actions/migrating-to-github-actions/migrating-from-gitlab-cicd-to-github-actions - /actions/migrating-to-github-actions/manual-migrations/migrating-from-gitlab-cicd-to-github-actions + - /actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-gitlab-cicd-to-github-actions versions: fpt: '*' ghes: '*' diff --git a/content/actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-jenkins-to-github-actions.md b/content/actions/how-tos/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-jenkins-to-github-actions.md similarity index 99% rename from content/actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-jenkins-to-github-actions.md rename to content/actions/how-tos/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-jenkins-to-github-actions.md index 50c5475fdf46..31fabf08d714 100644 --- a/content/actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-jenkins-to-github-actions.md +++ b/content/actions/how-tos/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-jenkins-to-github-actions.md @@ -5,6 +5,7 @@ redirect_from: - /actions/learn-github-actions/migrating-from-jenkins-to-github-actions - /actions/migrating-to-github-actions/migrating-from-jenkins-to-github-actions - /actions/migrating-to-github-actions/manual-migrations/migrating-from-jenkins-to-github-actions + - /actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-jenkins-to-github-actions versions: fpt: '*' ghes: '*' diff --git a/content/actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-travis-ci-to-github-actions.md b/content/actions/how-tos/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-travis-ci-to-github-actions.md similarity index 99% rename from content/actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-travis-ci-to-github-actions.md rename to content/actions/how-tos/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-travis-ci-to-github-actions.md index b3090283983d..889aff0c0e7b 100644 --- a/content/actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-travis-ci-to-github-actions.md +++ b/content/actions/how-tos/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-travis-ci-to-github-actions.md @@ -5,6 +5,7 @@ redirect_from: - /actions/learn-github-actions/migrating-from-travis-ci-to-github-actions - /actions/migrating-to-github-actions/migrating-from-travis-ci-to-github-actions - /actions/migrating-to-github-actions/manual-migrations/migrating-from-travis-ci-to-github-actions + - /actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-travis-ci-to-github-actions versions: fpt: '*' ghes: '*' diff --git a/content/actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/automating-migration-with-github-actions-importer.md b/content/actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/automating-migration-with-github-actions-importer.md similarity index 98% rename from content/actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/automating-migration-with-github-actions-importer.md rename to content/actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/automating-migration-with-github-actions-importer.md index 6d3b868ea9d5..15aa01ffa872 100644 --- a/content/actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/automating-migration-with-github-actions-importer.md +++ b/content/actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/automating-migration-with-github-actions-importer.md @@ -4,6 +4,7 @@ intro: 'Use {% data variables.product.prodname_actions_importer %} to plan and a redirect_from: - /actions/migrating-to-github-actions/automating-migration-with-github-actions-importer - /actions/migrating-to-github-actions/automated-migrations/automating-migration-with-github-actions-importer + - /actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/automating-migration-with-github-actions-importer versions: fpt: '*' ghec: '*' diff --git a/content/actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/extending-github-actions-importer-with-custom-transformers.md b/content/actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/extending-github-actions-importer-with-custom-transformers.md similarity index 98% rename from content/actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/extending-github-actions-importer-with-custom-transformers.md rename to content/actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/extending-github-actions-importer-with-custom-transformers.md index a42e986fb049..da509275c3bb 100644 --- a/content/actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/extending-github-actions-importer-with-custom-transformers.md +++ b/content/actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/extending-github-actions-importer-with-custom-transformers.md @@ -13,6 +13,7 @@ topics: shortTitle: Extending GitHub Actions Importer redirect_from: - /actions/migrating-to-github-actions/automated-migrations/extending-github-actions-importer-with-custom-transformers + - /actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/extending-github-actions-importer-with-custom-transformers --- [Legal notice](#legal-notice) diff --git a/content/actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/index.md b/content/actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/index.md similarity index 91% rename from content/actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/index.md rename to content/actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/index.md index 073bca954850..fc8f66249716 100644 --- a/content/actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/index.md +++ b/content/actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/index.md @@ -18,5 +18,6 @@ children: - /migrating-from-travis-ci-with-github-actions-importer redirect_from: - /actions/migrating-to-github-actions/automated-migrations + - /actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations --- diff --git a/content/actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-azure-devops-with-github-actions-importer.md b/content/actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-azure-devops-with-github-actions-importer.md similarity index 99% rename from content/actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-azure-devops-with-github-actions-importer.md rename to content/actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-azure-devops-with-github-actions-importer.md index 009bb51d3ac5..1e108d6b8836 100644 --- a/content/actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-azure-devops-with-github-actions-importer.md +++ b/content/actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-azure-devops-with-github-actions-importer.md @@ -13,6 +13,7 @@ topics: shortTitle: Azure DevOps migration redirect_from: - /actions/migrating-to-github-actions/automated-migrations/migrating-from-azure-devops-with-github-actions-importer + - /actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-azure-devops-with-github-actions-importer --- [Legal notice](#legal-notice) diff --git a/content/actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-bamboo-with-github-actions-importer.md b/content/actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-bamboo-with-github-actions-importer.md similarity index 99% rename from content/actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-bamboo-with-github-actions-importer.md rename to content/actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-bamboo-with-github-actions-importer.md index 8fcfd87957f8..13ff795e3589 100644 --- a/content/actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-bamboo-with-github-actions-importer.md +++ b/content/actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-bamboo-with-github-actions-importer.md @@ -13,6 +13,7 @@ topics: shortTitle: Bamboo migration redirect_from: - /actions/migrating-to-github-actions/automated-migrations/migrating-from-bamboo-with-github-actions-importer + - /actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-bamboo-with-github-actions-importer --- [Legal notice](#legal-notice) diff --git a/content/actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-bitbucket-pipelines-with-github-actions-importer.md b/content/actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-bitbucket-pipelines-with-github-actions-importer.md similarity index 99% rename from content/actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-bitbucket-pipelines-with-github-actions-importer.md rename to content/actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-bitbucket-pipelines-with-github-actions-importer.md index e7e97ea16d52..6ac3263553eb 100644 --- a/content/actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-bitbucket-pipelines-with-github-actions-importer.md +++ b/content/actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-bitbucket-pipelines-with-github-actions-importer.md @@ -13,6 +13,7 @@ topics: shortTitle: Bitbucket Pipelines migration redirect_from: - /actions/migrating-to-github-actions/automated-migrations/migrating-from-bitbucket-pipelines-with-github-actions-importer + - /actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-bitbucket-pipelines-with-github-actions-importer --- [Legal notice](#legal-notice) diff --git a/content/actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-circleci-with-github-actions-importer.md b/content/actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-circleci-with-github-actions-importer.md similarity index 99% rename from content/actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-circleci-with-github-actions-importer.md rename to content/actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-circleci-with-github-actions-importer.md index bc372b41f340..ff2396d838e0 100644 --- a/content/actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-circleci-with-github-actions-importer.md +++ b/content/actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-circleci-with-github-actions-importer.md @@ -13,6 +13,7 @@ topics: shortTitle: CircleCI migration redirect_from: - /actions/migrating-to-github-actions/automated-migrations/migrating-from-circleci-with-github-actions-importer + - /actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-circleci-with-github-actions-importer --- [Legal notice](#legal-notice) diff --git a/content/actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-gitlab-with-github-actions-importer.md b/content/actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-gitlab-with-github-actions-importer.md similarity index 99% rename from content/actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-gitlab-with-github-actions-importer.md rename to content/actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-gitlab-with-github-actions-importer.md index 2be6fefb1870..f24207d79522 100644 --- a/content/actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-gitlab-with-github-actions-importer.md +++ b/content/actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-gitlab-with-github-actions-importer.md @@ -13,6 +13,7 @@ topics: shortTitle: GitLab migration redirect_from: - /actions/migrating-to-github-actions/automated-migrations/migrating-from-gitlab-with-github-actions-importer + - /actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-gitlab-with-github-actions-importer --- [Legal notice](#legal-notice) diff --git a/content/actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-jenkins-with-github-actions-importer.md b/content/actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-jenkins-with-github-actions-importer.md similarity index 99% rename from content/actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-jenkins-with-github-actions-importer.md rename to content/actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-jenkins-with-github-actions-importer.md index 9577404cc1f9..a4953e53a912 100644 --- a/content/actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-jenkins-with-github-actions-importer.md +++ b/content/actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-jenkins-with-github-actions-importer.md @@ -13,6 +13,7 @@ topics: shortTitle: Jenkins migration redirect_from: - /actions/migrating-to-github-actions/automated-migrations/migrating-from-jenkins-with-github-actions-importer + - /actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-jenkins-with-github-actions-importer --- [Legal notice](#legal-notice) diff --git a/content/actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-travis-ci-with-github-actions-importer.md b/content/actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-travis-ci-with-github-actions-importer.md similarity index 99% rename from content/actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-travis-ci-with-github-actions-importer.md rename to content/actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-travis-ci-with-github-actions-importer.md index 3dc16b64bebb..505789321b76 100644 --- a/content/actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-travis-ci-with-github-actions-importer.md +++ b/content/actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-travis-ci-with-github-actions-importer.md @@ -13,6 +13,7 @@ topics: shortTitle: Travis CI migration redirect_from: - /actions/migrating-to-github-actions/automated-migrations/migrating-from-travis-ci-with-github-actions-importer + - /actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-travis-ci-with-github-actions-importer --- [Legal notice](#legal-notice) diff --git a/content/actions/monitoring-and-troubleshooting-workflows/index.md b/content/actions/how-tos/monitoring-and-troubleshooting-workflows/index.md similarity index 91% rename from content/actions/monitoring-and-troubleshooting-workflows/index.md rename to content/actions/how-tos/monitoring-and-troubleshooting-workflows/index.md index 5406af09b895..663d7265ec06 100644 --- a/content/actions/monitoring-and-troubleshooting-workflows/index.md +++ b/content/actions/how-tos/monitoring-and-troubleshooting-workflows/index.md @@ -6,6 +6,7 @@ redirect_from: - /articles/viewing-your-repository-s-workflows - /articles/viewing-your-repositorys-workflows - /actions/monitoring-and-troubleshooting-workflows/about-monitoring-and-troubleshooting + - /actions/monitoring-and-troubleshooting-workflows versions: fpt: '*' ghes: '*' diff --git a/content/actions/monitoring-and-troubleshooting-workflows/monitoring-workflows/adding-a-workflow-status-badge.md b/content/actions/how-tos/monitoring-and-troubleshooting-workflows/monitoring-workflows/adding-a-workflow-status-badge.md similarity index 97% rename from content/actions/monitoring-and-troubleshooting-workflows/monitoring-workflows/adding-a-workflow-status-badge.md rename to content/actions/how-tos/monitoring-and-troubleshooting-workflows/monitoring-workflows/adding-a-workflow-status-badge.md index 74f4fb597db5..91c406e299d2 100644 --- a/content/actions/monitoring-and-troubleshooting-workflows/monitoring-workflows/adding-a-workflow-status-badge.md +++ b/content/actions/how-tos/monitoring-and-troubleshooting-workflows/monitoring-workflows/adding-a-workflow-status-badge.md @@ -5,6 +5,7 @@ intro: You can display a status badge in your repository to indicate the status redirect_from: - /actions/managing-workflow-runs/adding-a-workflow-status-badge - /actions/monitoring-and-troubleshooting-workflows/adding-a-workflow-status-badge + - /actions/monitoring-and-troubleshooting-workflows/monitoring-workflows/adding-a-workflow-status-badge versions: fpt: '*' ghes: '*' diff --git a/content/actions/monitoring-and-troubleshooting-workflows/monitoring-workflows/index.md b/content/actions/how-tos/monitoring-and-troubleshooting-workflows/monitoring-workflows/index.md similarity index 82% rename from content/actions/monitoring-and-troubleshooting-workflows/monitoring-workflows/index.md rename to content/actions/how-tos/monitoring-and-troubleshooting-workflows/monitoring-workflows/index.md index 7167d9fb1747..d14427fe5301 100644 --- a/content/actions/monitoring-and-troubleshooting-workflows/monitoring-workflows/index.md +++ b/content/actions/how-tos/monitoring-and-troubleshooting-workflows/monitoring-workflows/index.md @@ -12,4 +12,6 @@ children: - /viewing-job-execution-time - /adding-a-workflow-status-badge - /using-workflow-run-logs +redirect_from: + - /actions/monitoring-and-troubleshooting-workflows/monitoring-workflows --- diff --git a/content/actions/monitoring-and-troubleshooting-workflows/monitoring-workflows/using-the-visualization-graph.md b/content/actions/how-tos/monitoring-and-troubleshooting-workflows/monitoring-workflows/using-the-visualization-graph.md similarity index 90% rename from content/actions/monitoring-and-troubleshooting-workflows/monitoring-workflows/using-the-visualization-graph.md rename to content/actions/how-tos/monitoring-and-troubleshooting-workflows/monitoring-workflows/using-the-visualization-graph.md index c4bc5f5486bd..7700f1ebdb2b 100644 --- a/content/actions/monitoring-and-troubleshooting-workflows/monitoring-workflows/using-the-visualization-graph.md +++ b/content/actions/how-tos/monitoring-and-troubleshooting-workflows/monitoring-workflows/using-the-visualization-graph.md @@ -5,6 +5,7 @@ intro: Every workflow run generates a real-time graph that illustrates the run p redirect_from: - /actions/managing-workflow-runs/using-the-visualization-graph - /actions/monitoring-and-troubleshooting-workflows/using-the-visualization-graph + - /actions/monitoring-and-troubleshooting-workflows/monitoring-workflows/using-the-visualization-graph versions: fpt: '*' ghes: '*' diff --git a/content/actions/monitoring-and-troubleshooting-workflows/monitoring-workflows/using-workflow-run-logs.md b/content/actions/how-tos/monitoring-and-troubleshooting-workflows/monitoring-workflows/using-workflow-run-logs.md similarity index 98% rename from content/actions/monitoring-and-troubleshooting-workflows/monitoring-workflows/using-workflow-run-logs.md rename to content/actions/how-tos/monitoring-and-troubleshooting-workflows/monitoring-workflows/using-workflow-run-logs.md index dc9a20b25edc..1237e7f9f64c 100644 --- a/content/actions/monitoring-and-troubleshooting-workflows/monitoring-workflows/using-workflow-run-logs.md +++ b/content/actions/how-tos/monitoring-and-troubleshooting-workflows/monitoring-workflows/using-workflow-run-logs.md @@ -5,6 +5,7 @@ intro: 'You can view, search, and download the logs for each job in a workflow r redirect_from: - /actions/managing-workflow-runs/using-workflow-run-logs - /actions/monitoring-and-troubleshooting-workflows/using-workflow-run-logs + - /actions/monitoring-and-troubleshooting-workflows/monitoring-workflows/using-workflow-run-logs versions: fpt: '*' ghes: '*' diff --git a/content/actions/monitoring-and-troubleshooting-workflows/monitoring-workflows/viewing-job-execution-time.md b/content/actions/how-tos/monitoring-and-troubleshooting-workflows/monitoring-workflows/viewing-job-execution-time.md similarity index 93% rename from content/actions/monitoring-and-troubleshooting-workflows/monitoring-workflows/viewing-job-execution-time.md rename to content/actions/how-tos/monitoring-and-troubleshooting-workflows/monitoring-workflows/viewing-job-execution-time.md index 1ee464b4107e..e89839399c87 100644 --- a/content/actions/monitoring-and-troubleshooting-workflows/monitoring-workflows/viewing-job-execution-time.md +++ b/content/actions/how-tos/monitoring-and-troubleshooting-workflows/monitoring-workflows/viewing-job-execution-time.md @@ -5,6 +5,7 @@ intro: 'You can view the execution time of a job, including the billable minutes redirect_from: - /actions/managing-workflow-runs/viewing-job-execution-time - /actions/monitoring-and-troubleshooting-workflows/viewing-job-execution-time + - /actions/monitoring-and-troubleshooting-workflows/monitoring-workflows/viewing-job-execution-time versions: fpt: '*' ghec: '*' diff --git a/content/actions/monitoring-and-troubleshooting-workflows/monitoring-workflows/viewing-workflow-run-history.md b/content/actions/how-tos/monitoring-and-troubleshooting-workflows/monitoring-workflows/viewing-workflow-run-history.md similarity index 95% rename from content/actions/monitoring-and-troubleshooting-workflows/monitoring-workflows/viewing-workflow-run-history.md rename to content/actions/how-tos/monitoring-and-troubleshooting-workflows/monitoring-workflows/viewing-workflow-run-history.md index cd0816eeb429..7ae8057688c8 100644 --- a/content/actions/monitoring-and-troubleshooting-workflows/monitoring-workflows/viewing-workflow-run-history.md +++ b/content/actions/how-tos/monitoring-and-troubleshooting-workflows/monitoring-workflows/viewing-workflow-run-history.md @@ -5,6 +5,7 @@ intro: You can view logs for each run of a workflow. Logs include the status for redirect_from: - /actions/managing-workflow-runs/viewing-workflow-run-history - /actions/monitoring-and-troubleshooting-workflows/viewing-workflow-run-history + - /actions/monitoring-and-troubleshooting-workflows/monitoring-workflows/viewing-workflow-run-history versions: fpt: '*' ghes: '*' diff --git a/content/actions/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/enabling-debug-logging.md b/content/actions/how-tos/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/enabling-debug-logging.md similarity index 96% rename from content/actions/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/enabling-debug-logging.md rename to content/actions/how-tos/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/enabling-debug-logging.md index 955a4ade7ed9..307796307e54 100644 --- a/content/actions/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/enabling-debug-logging.md +++ b/content/actions/how-tos/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/enabling-debug-logging.md @@ -5,6 +5,7 @@ intro: 'If the workflow logs do not provide enough detail to diagnose why a work redirect_from: - /actions/managing-workflow-runs/enabling-debug-logging - /actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging + - /actions/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/enabling-debug-logging versions: fpt: '*' ghes: '*' diff --git a/content/actions/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/index.md b/content/actions/how-tos/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/index.md similarity index 79% rename from content/actions/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/index.md rename to content/actions/how-tos/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/index.md index 9317337560b1..59049040a70e 100644 --- a/content/actions/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/index.md +++ b/content/actions/how-tos/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/index.md @@ -10,4 +10,6 @@ children: - /using-copilot-to-troubleshoot-workflows - /enabling-debug-logging - /working-with-support-for-github-actions +redirect_from: + - /actions/monitoring-and-troubleshooting-workflows/troubleshooting-workflows --- diff --git a/content/actions/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/using-copilot-to-troubleshoot-workflows.md b/content/actions/how-tos/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/using-copilot-to-troubleshoot-workflows.md similarity index 90% rename from content/actions/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/using-copilot-to-troubleshoot-workflows.md rename to content/actions/how-tos/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/using-copilot-to-troubleshoot-workflows.md index 7d611e550a5b..5f50b8d7deab 100644 --- a/content/actions/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/using-copilot-to-troubleshoot-workflows.md +++ b/content/actions/how-tos/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/using-copilot-to-troubleshoot-workflows.md @@ -5,6 +5,8 @@ versions: feature: copilot shortTitle: Use Copilot permissions: This feature is available for users on all {% data variables.product.prodname_copilot %} subscription tiers. +redirect_from: + - /actions/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/using-copilot-to-troubleshoot-workflows --- If a workflow run fails, you can open a chat with {% data variables.product.prodname_copilot %} for assistance resolving the error. diff --git a/content/actions/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/working-with-support-for-github-actions.md b/content/actions/how-tos/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/working-with-support-for-github-actions.md similarity index 98% rename from content/actions/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/working-with-support-for-github-actions.md rename to content/actions/how-tos/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/working-with-support-for-github-actions.md index 57abb05f68b9..6c9dd3d2c211 100644 --- a/content/actions/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/working-with-support-for-github-actions.md +++ b/content/actions/how-tos/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/working-with-support-for-github-actions.md @@ -12,6 +12,7 @@ topics: shortTitle: 'Working with {% data variables.contact.github_support %}' redirect_from: - /actions/monitoring-and-troubleshooting-workflows/working-with-support-for-github-actions + - /actions/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/working-with-support-for-github-actions --- You can [contact {% data variables.contact.github_support %}](/support/contacting-github-support) for assistance with {% data variables.product.prodname_actions %}. diff --git a/content/actions/security-for-github-actions/index.md b/content/actions/how-tos/security-for-github-actions/index.md similarity index 91% rename from content/actions/security-for-github-actions/index.md rename to content/actions/how-tos/security-for-github-actions/index.md index 05ce0005e6b2..bd22c207e198 100644 --- a/content/actions/security-for-github-actions/index.md +++ b/content/actions/how-tos/security-for-github-actions/index.md @@ -4,6 +4,7 @@ shortTitle: Security intro: 'Use security best practices with {% data variables.product.prodname_actions %}, and use {% data variables.product.prodname_actions %} to improve the security of your software supply chain.' redirect_from: - /actions/security-guides + - /actions/security-for-github-actions versions: fpt: '*' ghes: '*' diff --git a/content/actions/security-for-github-actions/security-guides/automatic-token-authentication.md b/content/actions/how-tos/security-for-github-actions/security-guides/automatic-token-authentication.md similarity index 99% rename from content/actions/security-for-github-actions/security-guides/automatic-token-authentication.md rename to content/actions/how-tos/security-for-github-actions/security-guides/automatic-token-authentication.md index 9d2f7e25c42b..dbef2a94c6ba 100644 --- a/content/actions/security-for-github-actions/security-guides/automatic-token-authentication.md +++ b/content/actions/how-tos/security-for-github-actions/security-guides/automatic-token-authentication.md @@ -7,6 +7,7 @@ redirect_from: - /actions/configuring-and-managing-workflows/authenticating-with-the-github_token - /actions/reference/authentication-in-a-workflow - /actions/security-guides/automatic-token-authentication + - /actions/security-for-github-actions/security-guides/automatic-token-authentication versions: fpt: '*' ghes: '*' diff --git a/content/actions/security-for-github-actions/security-guides/index.md b/content/actions/how-tos/security-for-github-actions/security-guides/index.md similarity index 84% rename from content/actions/security-for-github-actions/security-guides/index.md rename to content/actions/how-tos/security-for-github-actions/security-guides/index.md index 4de1b09b3d40..713c064b5fc3 100644 --- a/content/actions/security-for-github-actions/security-guides/index.md +++ b/content/actions/how-tos/security-for-github-actions/security-guides/index.md @@ -11,5 +11,7 @@ children: - /using-secrets-in-github-actions - /automatic-token-authentication - /using-githubs-security-features-to-secure-your-use-of-github-actions +redirect_from: + - /actions/security-for-github-actions/security-guides --- diff --git a/content/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions.md b/content/actions/how-tos/security-for-github-actions/security-guides/security-hardening-for-github-actions.md similarity index 99% rename from content/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions.md rename to content/actions/how-tos/security-for-github-actions/security-guides/security-hardening-for-github-actions.md index b62a78f02167..9c3d68d63737 100644 --- a/content/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions.md +++ b/content/actions/how-tos/security-for-github-actions/security-guides/security-hardening-for-github-actions.md @@ -6,6 +6,7 @@ redirect_from: - /actions/getting-started-with-github-actions/security-hardening-for-github-actions - /actions/learn-github-actions/security-hardening-for-github-actions - /actions/security-guides/security-hardening-for-github-actions + - /actions/security-for-github-actions/security-guides/security-hardening-for-github-actions versions: fpt: '*' ghes: '*' diff --git a/content/actions/security-for-github-actions/security-guides/using-githubs-security-features-to-secure-your-use-of-github-actions.md b/content/actions/how-tos/security-for-github-actions/security-guides/using-githubs-security-features-to-secure-your-use-of-github-actions.md similarity index 98% rename from content/actions/security-for-github-actions/security-guides/using-githubs-security-features-to-secure-your-use-of-github-actions.md rename to content/actions/how-tos/security-for-github-actions/security-guides/using-githubs-security-features-to-secure-your-use-of-github-actions.md index 8a3d870e93ef..a0adf4d75cb3 100644 --- a/content/actions/security-for-github-actions/security-guides/using-githubs-security-features-to-secure-your-use-of-github-actions.md +++ b/content/actions/how-tos/security-for-github-actions/security-guides/using-githubs-security-features-to-secure-your-use-of-github-actions.md @@ -8,6 +8,7 @@ versions: shortTitle: GitHub security features redirect_from: - /actions/security-guides/using-githubs-security-features-to-secure-your-use-of-github-actions + - /actions/security-for-github-actions/security-guides/using-githubs-security-features-to-secure-your-use-of-github-actions --- ## About {% data variables.product.prodname_dotcom %}'s security features diff --git a/content/actions/security-for-github-actions/security-guides/using-secrets-in-github-actions.md b/content/actions/how-tos/security-for-github-actions/security-guides/using-secrets-in-github-actions.md similarity index 99% rename from content/actions/security-for-github-actions/security-guides/using-secrets-in-github-actions.md rename to content/actions/how-tos/security-for-github-actions/security-guides/using-secrets-in-github-actions.md index 48758791468f..660842e0156d 100644 --- a/content/actions/security-for-github-actions/security-guides/using-secrets-in-github-actions.md +++ b/content/actions/how-tos/security-for-github-actions/security-guides/using-secrets-in-github-actions.md @@ -11,6 +11,7 @@ redirect_from: - /actions/managing-workflows/storing-secrets - /actions/security-guides/encrypted-secrets - /actions/security-guides/using-secrets-in-github-actions + - /actions/security-for-github-actions/security-guides/using-secrets-in-github-actions versions: fpt: '*' ghes: '*' diff --git a/content/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services.md b/content/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services.md similarity index 98% rename from content/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services.md rename to content/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services.md index eeb27108f722..00591413342f 100644 --- a/content/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services.md +++ b/content/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services.md @@ -11,6 +11,7 @@ topics: - Security redirect_from: - /actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services + - /actions/security-for-github-actions/security-guides/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-azure.md b/content/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-azure.md similarity index 97% rename from content/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-azure.md rename to content/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-azure.md index 12123ea443c1..dbd46e84d8ee 100644 --- a/content/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-azure.md +++ b/content/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-azure.md @@ -11,6 +11,7 @@ topics: - Security redirect_from: - /actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure + - /actions/security-for-github-actions/security-guides/security-hardening-your-deployments/configuring-openid-connect-in-azure --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-cloud-providers.md b/content/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-cloud-providers.md similarity index 98% rename from content/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-cloud-providers.md rename to content/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-cloud-providers.md index 62c46d126cf6..db59455bb286 100644 --- a/content/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-cloud-providers.md +++ b/content/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-cloud-providers.md @@ -11,6 +11,7 @@ topics: - Security redirect_from: - /actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-cloud-providers + - /actions/security-for-github-actions/security-guides/security-hardening-your-deployments/configuring-openid-connect-in-cloud-providers --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-google-cloud-platform.md b/content/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-google-cloud-platform.md similarity index 97% rename from content/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-google-cloud-platform.md rename to content/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-google-cloud-platform.md index cbf49af87bdc..5ffe3795c344 100644 --- a/content/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-google-cloud-platform.md +++ b/content/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-google-cloud-platform.md @@ -11,6 +11,7 @@ topics: - Security redirect_from: - /actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-google-cloud-platform + - /actions/security-for-github-actions/security-guides/security-hardening-your-deployments/configuring-openid-connect-in-google-cloud-platform --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-hashicorp-vault.md b/content/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-hashicorp-vault.md similarity index 98% rename from content/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-hashicorp-vault.md rename to content/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-hashicorp-vault.md index 4dd8bff3baa1..ad03662e2b4b 100644 --- a/content/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-hashicorp-vault.md +++ b/content/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-hashicorp-vault.md @@ -11,6 +11,7 @@ topics: - Security redirect_from: - /actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-hashicorp-vault + - /actions/security-for-github-actions/security-guides/security-hardening-your-deployments/configuring-openid-connect-in-hashicorp-vault --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-jfrog.md b/content/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-jfrog.md similarity index 97% rename from content/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-jfrog.md rename to content/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-jfrog.md index 87332f83b0ee..7aaa823a2406 100644 --- a/content/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-jfrog.md +++ b/content/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-jfrog.md @@ -11,6 +11,7 @@ topics: - Actions redirect_from: - /actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-jfrog + - /actions/security-for-github-actions/security-guides/security-hardening-your-deployments/configuring-openid-connect-in-jfrog --- ## Overview diff --git a/content/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-pypi.md b/content/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-pypi.md similarity index 96% rename from content/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-pypi.md rename to content/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-pypi.md index b41dd32b67b3..41d7ab17a4e2 100644 --- a/content/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-pypi.md +++ b/content/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-pypi.md @@ -11,6 +11,7 @@ topics: - Actions redirect_from: - /actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-pypi + - /actions/security-for-github-actions/security-guides/security-hardening-your-deployments/configuring-openid-connect-in-pypi --- ## Overview diff --git a/content/actions/security-for-github-actions/security-hardening-your-deployments/index.md b/content/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/index.md similarity index 88% rename from content/actions/security-for-github-actions/security-hardening-your-deployments/index.md rename to content/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/index.md index e1df03db7047..35c452544656 100644 --- a/content/actions/security-for-github-actions/security-hardening-your-deployments/index.md +++ b/content/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/index.md @@ -4,6 +4,7 @@ shortTitle: Security harden deployments intro: Use OpenID Connect within your workflows to authenticate with your cloud provider. redirect_from: - /actions/deployment/security-hardening-your-deployments + - /actions/security-for-github-actions/security-guides/security-hardening-your-deployments versions: fpt: '*' ghec: '*' diff --git a/content/actions/security-for-github-actions/security-hardening-your-deployments/using-openid-connect-with-reusable-workflows.md b/content/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/using-openid-connect-with-reusable-workflows.md similarity index 100% rename from content/actions/security-for-github-actions/security-hardening-your-deployments/using-openid-connect-with-reusable-workflows.md rename to content/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/using-openid-connect-with-reusable-workflows.md diff --git a/content/actions/security-for-github-actions/using-artifact-attestations/enforcing-artifact-attestations-with-a-kubernetes-admission-controller.md b/content/actions/how-tos/security-for-github-actions/using-artifact-attestations/enforcing-artifact-attestations-with-a-kubernetes-admission-controller.md similarity index 98% rename from content/actions/security-for-github-actions/using-artifact-attestations/enforcing-artifact-attestations-with-a-kubernetes-admission-controller.md rename to content/actions/how-tos/security-for-github-actions/using-artifact-attestations/enforcing-artifact-attestations-with-a-kubernetes-admission-controller.md index 011145a7e32a..4b7826c9b3fe 100644 --- a/content/actions/security-for-github-actions/using-artifact-attestations/enforcing-artifact-attestations-with-a-kubernetes-admission-controller.md +++ b/content/actions/how-tos/security-for-github-actions/using-artifact-attestations/enforcing-artifact-attestations-with-a-kubernetes-admission-controller.md @@ -7,6 +7,7 @@ versions: shortTitle: Artifact attestations Kubernetes admission controller redirect_from: - /actions/security-guides/enforcing-artifact-attestations-with-a-kubernetes-admission-controller + - /actions/security-for-github-actions/using-artifact-attestations/enforcing-artifact-attestations-with-a-kubernetes-admission-controller --- >[!NOTE] Before proceeding, ensure you have enabled build provenance for container images, including setting the `push-to-registry` attribute in the [`attest-build-provenance` action](https://github.com/actions/attest-build-provenance) as documented in [Generating build provenance for container images](/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds#generating-build-provenance-for-container-images). This is required for the Policy Controller to verify the attestation. diff --git a/content/actions/security-for-github-actions/using-artifact-attestations/index.md b/content/actions/how-tos/security-for-github-actions/using-artifact-attestations/index.md similarity index 84% rename from content/actions/security-for-github-actions/using-artifact-attestations/index.md rename to content/actions/how-tos/security-for-github-actions/using-artifact-attestations/index.md index ab7abbfe17a4..ec5757ed2dbc 100644 --- a/content/actions/security-for-github-actions/using-artifact-attestations/index.md +++ b/content/actions/how-tos/security-for-github-actions/using-artifact-attestations/index.md @@ -11,5 +11,7 @@ children: - /using-artifact-attestations-and-reusable-workflows-to-achieve-slsa-v1-build-level-3 - /enforcing-artifact-attestations-with-a-kubernetes-admission-controller - /verifying-attestations-offline +redirect_from: + - /actions/security-for-github-actions/security-guides/using-artifact-attestations --- diff --git a/content/actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-and-reusable-workflows-to-achieve-slsa-v1-build-level-3.md b/content/actions/how-tos/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-and-reusable-workflows-to-achieve-slsa-v1-build-level-3.md similarity index 96% rename from content/actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-and-reusable-workflows-to-achieve-slsa-v1-build-level-3.md rename to content/actions/how-tos/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-and-reusable-workflows-to-achieve-slsa-v1-build-level-3.md index cfca245e1e85..0efdbb14aab6 100644 --- a/content/actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-and-reusable-workflows-to-achieve-slsa-v1-build-level-3.md +++ b/content/actions/how-tos/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-and-reusable-workflows-to-achieve-slsa-v1-build-level-3.md @@ -12,6 +12,7 @@ versions: ghec: '*' redirect_from: - /actions/security-guides/using-artifact-attestations-and-reusable-workflows-to-achieve-slsa-v1-build-level-3 + - /actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-and-reusable-workflows-to-achieve-slsa-v1-build-level-3 --- ## Introduction diff --git a/content/actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-to-establish-provenance-for-builds.md b/content/actions/how-tos/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-to-establish-provenance-for-builds.md similarity index 98% rename from content/actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-to-establish-provenance-for-builds.md rename to content/actions/how-tos/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-to-establish-provenance-for-builds.md index c93c5394f8a6..5f938268d176 100644 --- a/content/actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-to-establish-provenance-for-builds.md +++ b/content/actions/how-tos/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-to-establish-provenance-for-builds.md @@ -8,6 +8,7 @@ versions: shortTitle: Artifact attestations redirect_from: - /actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds + - /actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-to-establish-provenance-for-builds --- ## About artifact attestations diff --git a/content/actions/security-for-github-actions/using-artifact-attestations/verifying-attestations-offline.md b/content/actions/how-tos/security-for-github-actions/using-artifact-attestations/verifying-attestations-offline.md similarity index 97% rename from content/actions/security-for-github-actions/using-artifact-attestations/verifying-attestations-offline.md rename to content/actions/how-tos/security-for-github-actions/using-artifact-attestations/verifying-attestations-offline.md index 2fcd6d8361dd..cc5f437f1f5d 100644 --- a/content/actions/security-for-github-actions/using-artifact-attestations/verifying-attestations-offline.md +++ b/content/actions/how-tos/security-for-github-actions/using-artifact-attestations/verifying-attestations-offline.md @@ -12,6 +12,7 @@ versions: ghec: '*' redirect_from: - /actions/security-guides/verifying-attestations-offline + - /actions/security-for-github-actions/using-artifact-attestations/verifying-attestations-offline --- ## Introduction diff --git a/content/actions/sharing-automations/creating-actions/developing-a-third-party-cli-action.md b/content/actions/how-tos/sharing-automations/creating-actions/developing-a-third-party-cli-action.md similarity index 97% rename from content/actions/sharing-automations/creating-actions/developing-a-third-party-cli-action.md rename to content/actions/how-tos/sharing-automations/creating-actions/developing-a-third-party-cli-action.md index 6647da5ee416..ea726570b810 100644 --- a/content/actions/sharing-automations/creating-actions/developing-a-third-party-cli-action.md +++ b/content/actions/how-tos/sharing-automations/creating-actions/developing-a-third-party-cli-action.md @@ -4,6 +4,7 @@ shortTitle: CLI setup action intro: 'Learn how to develop an action to set up a CLI on {% data variables.product.prodname_actions %} runners.' redirect_from: - /actions/creating-actions/developing-a-third-party-cli-action + - /actions/sharing-automations/creating-actions/developing-a-third-party-cli-action versions: fpt: '*' ghec: '*' diff --git a/content/actions/sharing-automations/creating-actions/index.md b/content/actions/how-tos/sharing-automations/creating-actions/index.md similarity index 88% rename from content/actions/sharing-automations/creating-actions/index.md rename to content/actions/how-tos/sharing-automations/creating-actions/index.md index 1250b3764f61..f1959b86be84 100644 --- a/content/actions/sharing-automations/creating-actions/index.md +++ b/content/actions/how-tos/sharing-automations/creating-actions/index.md @@ -11,6 +11,8 @@ children: - /releasing-and-maintaining-actions - /publishing-actions-in-github-marketplace - /developing-a-third-party-cli-action +redirect_from: + - /actions/sharing-automations/creating-actions --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/sharing-automations/creating-actions/publishing-actions-in-github-marketplace.md b/content/actions/how-tos/sharing-automations/creating-actions/publishing-actions-in-github-marketplace.md similarity index 98% rename from content/actions/sharing-automations/creating-actions/publishing-actions-in-github-marketplace.md rename to content/actions/how-tos/sharing-automations/creating-actions/publishing-actions-in-github-marketplace.md index c554a31a76bd..d8eacbe9489e 100644 --- a/content/actions/sharing-automations/creating-actions/publishing-actions-in-github-marketplace.md +++ b/content/actions/how-tos/sharing-automations/creating-actions/publishing-actions-in-github-marketplace.md @@ -6,6 +6,7 @@ redirect_from: - /actions/automating-your-workflow-with-github-actions/publishing-actions-in-github-marketplace - /actions/building-actions/publishing-actions-in-github-marketplace - /actions/creating-actions/publishing-actions-in-github-marketplace + - /actions/sharing-automations/creating-actions/publishing-actions-in-github-marketplace versions: fpt: '*' ghec: '*' diff --git a/content/actions/sharing-automations/creating-actions/releasing-and-maintaining-actions.md b/content/actions/how-tos/sharing-automations/creating-actions/releasing-and-maintaining-actions.md similarity index 98% rename from content/actions/sharing-automations/creating-actions/releasing-and-maintaining-actions.md rename to content/actions/how-tos/sharing-automations/creating-actions/releasing-and-maintaining-actions.md index 58981712c9d5..d8f346afd6c4 100644 --- a/content/actions/sharing-automations/creating-actions/releasing-and-maintaining-actions.md +++ b/content/actions/how-tos/sharing-automations/creating-actions/releasing-and-maintaining-actions.md @@ -13,6 +13,7 @@ versions: ghes: '*' redirect_from: - /actions/creating-actions/releasing-and-maintaining-actions + - /actions/sharing-automations/creating-actions/releasing-and-maintaining-actions --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/sharing-automations/creating-actions/setting-exit-codes-for-actions.md b/content/actions/how-tos/sharing-automations/creating-actions/setting-exit-codes-for-actions.md similarity index 95% rename from content/actions/sharing-automations/creating-actions/setting-exit-codes-for-actions.md rename to content/actions/how-tos/sharing-automations/creating-actions/setting-exit-codes-for-actions.md index 39ecae18c0be..88bb706d2a6d 100644 --- a/content/actions/sharing-automations/creating-actions/setting-exit-codes-for-actions.md +++ b/content/actions/how-tos/sharing-automations/creating-actions/setting-exit-codes-for-actions.md @@ -5,6 +5,7 @@ intro: 'You can use exit codes to set the status of an action. {% data variables redirect_from: - /actions/building-actions/setting-exit-codes-for-actions - /actions/creating-actions/setting-exit-codes-for-actions + - /actions/sharing-automations/creating-actions/setting-exit-codes-for-actions versions: fpt: '*' ghes: '*' diff --git a/content/actions/sharing-automations/creating-workflow-templates-for-your-organization.md b/content/actions/how-tos/sharing-automations/creating-workflow-templates-for-your-organization.md similarity index 98% rename from content/actions/sharing-automations/creating-workflow-templates-for-your-organization.md rename to content/actions/how-tos/sharing-automations/creating-workflow-templates-for-your-organization.md index 76c0a2c56392..05a1de423837 100644 --- a/content/actions/sharing-automations/creating-workflow-templates-for-your-organization.md +++ b/content/actions/how-tos/sharing-automations/creating-workflow-templates-for-your-organization.md @@ -7,6 +7,7 @@ redirect_from: - /actions/learn-github-actions/creating-workflow-templates - /actions/learn-github-actions/creating-starter-workflows-for-your-organization - /actions/using-workflows/creating-starter-workflows-for-your-organization + - /actions/creating-starter-workflow-templates-for-your-organization versions: fpt: '*' ghes: '*' diff --git a/content/actions/sharing-automations/index.md b/content/actions/how-tos/sharing-automations/index.md similarity index 96% rename from content/actions/sharing-automations/index.md rename to content/actions/how-tos/sharing-automations/index.md index a8da119991e1..cc8ba59645bc 100644 --- a/content/actions/sharing-automations/index.md +++ b/content/actions/how-tos/sharing-automations/index.md @@ -12,6 +12,7 @@ redirect_from: - /actions/automating-your-workflow-with-github-actions/building-actions - /actions/building-actions - /articles/creating-a-github-action + - /actions/sharing-automations children: - /creating-actions - /reusing-workflows diff --git a/content/actions/sharing-automations/reusing-workflows.md b/content/actions/how-tos/sharing-automations/reusing-workflows.md similarity index 99% rename from content/actions/sharing-automations/reusing-workflows.md rename to content/actions/how-tos/sharing-automations/reusing-workflows.md index b916b92528d0..01426b9a512e 100644 --- a/content/actions/sharing-automations/reusing-workflows.md +++ b/content/actions/how-tos/sharing-automations/reusing-workflows.md @@ -5,6 +5,7 @@ intro: Learn how to avoid duplication when creating a workflow by reusing existi redirect_from: - /actions/learn-github-actions/reusing-workflows - /actions/using-workflows/reusing-workflows + - /actions/sharing-automations/reusing-workflows versions: fpt: '*' ghec: '*' diff --git a/content/actions/sharing-automations/sharing-actions-and-workflows-from-your-private-repository.md b/content/actions/how-tos/sharing-automations/sharing-actions-and-workflows-from-your-private-repository.md similarity index 95% rename from content/actions/sharing-automations/sharing-actions-and-workflows-from-your-private-repository.md rename to content/actions/how-tos/sharing-automations/sharing-actions-and-workflows-from-your-private-repository.md index c99540dc0c4f..9b902e881ef5 100644 --- a/content/actions/sharing-automations/sharing-actions-and-workflows-from-your-private-repository.md +++ b/content/actions/how-tos/sharing-automations/sharing-actions-and-workflows-from-your-private-repository.md @@ -10,6 +10,7 @@ topics: shortTitle: Share from your private repository redirect_from: - /actions/creating-actions/sharing-actions-and-workflows-from-your-private-repository + - /actions/sharing-automations/sharing-actions-and-workflows-from-your-private-repository --- ## About {% data variables.product.prodname_actions %} access to private repositories diff --git a/content/actions/sharing-automations/sharing-actions-and-workflows-with-your-enterprise.md b/content/actions/how-tos/sharing-automations/sharing-actions-and-workflows-with-your-enterprise.md similarity index 96% rename from content/actions/sharing-automations/sharing-actions-and-workflows-with-your-enterprise.md rename to content/actions/how-tos/sharing-automations/sharing-actions-and-workflows-with-your-enterprise.md index 8e50322ecf49..c8fd9c12322a 100644 --- a/content/actions/sharing-automations/sharing-actions-and-workflows-with-your-enterprise.md +++ b/content/actions/how-tos/sharing-automations/sharing-actions-and-workflows-with-your-enterprise.md @@ -11,6 +11,7 @@ topics: shortTitle: Share with your enterprise redirect_from: - /actions/creating-actions/sharing-actions-and-workflows-with-your-enterprise + - /actions/sharing-automations/sharing-actions-and-workflows-with-your-enterprise --- ## About {% data variables.product.prodname_actions %} access to internal and private repositories diff --git a/content/actions/sharing-automations/sharing-actions-and-workflows-with-your-organization.md b/content/actions/how-tos/sharing-automations/sharing-actions-and-workflows-with-your-organization.md similarity index 95% rename from content/actions/sharing-automations/sharing-actions-and-workflows-with-your-organization.md rename to content/actions/how-tos/sharing-automations/sharing-actions-and-workflows-with-your-organization.md index 5f8bf07116ce..79cf36d56701 100644 --- a/content/actions/sharing-automations/sharing-actions-and-workflows-with-your-organization.md +++ b/content/actions/how-tos/sharing-automations/sharing-actions-and-workflows-with-your-organization.md @@ -10,6 +10,7 @@ topics: shortTitle: Share with your organization redirect_from: - /actions/creating-actions/sharing-actions-and-workflows-with-your-organization + - /actions/sharing-automations/sharing-actions-and-workflows-with-your-organization --- ## About {% data variables.product.prodname_actions %} access to private repositories diff --git a/content/actions/use-cases-and-examples/building-and-testing/building-and-testing-go.md b/content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-go.md similarity index 99% rename from content/actions/use-cases-and-examples/building-and-testing/building-and-testing-go.md rename to content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-go.md index 031d0655569c..910b8f48c3d7 100644 --- a/content/actions/use-cases-and-examples/building-and-testing/building-and-testing-go.md +++ b/content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-go.md @@ -11,6 +11,7 @@ topics: shortTitle: Build & test Go redirect_from: - /actions/automating-builds-and-tests/building-and-testing-go + - /actions/use-cases-and-examples/building-and-testing/building-and-testing-go --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/use-cases-and-examples/building-and-testing/building-and-testing-java-with-ant.md b/content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-java-with-ant.md similarity index 98% rename from content/actions/use-cases-and-examples/building-and-testing/building-and-testing-java-with-ant.md rename to content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-java-with-ant.md index 84d862c1cc65..fb0dd0ab6b9e 100644 --- a/content/actions/use-cases-and-examples/building-and-testing/building-and-testing-java-with-ant.md +++ b/content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-java-with-ant.md @@ -5,6 +5,7 @@ redirect_from: - /actions/language-and-framework-guides/building-and-testing-java-with-ant - /actions/guides/building-and-testing-java-with-ant - /actions/automating-builds-and-tests/building-and-testing-java-with-ant + - /actions/use-cases-and-examples/building-and-testing/building-and-testing-java-with-ant versions: fpt: '*' ghes: '*' diff --git a/content/actions/use-cases-and-examples/building-and-testing/building-and-testing-java-with-gradle.md b/content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-java-with-gradle.md similarity index 98% rename from content/actions/use-cases-and-examples/building-and-testing/building-and-testing-java-with-gradle.md rename to content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-java-with-gradle.md index cdc5bb2df62d..7562345edcd4 100644 --- a/content/actions/use-cases-and-examples/building-and-testing/building-and-testing-java-with-gradle.md +++ b/content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-java-with-gradle.md @@ -5,6 +5,7 @@ redirect_from: - /actions/language-and-framework-guides/building-and-testing-java-with-gradle - /actions/guides/building-and-testing-java-with-gradle - /actions/automating-builds-and-tests/building-and-testing-java-with-gradle + - /actions/use-cases-and-examples/building-and-testing/building-and-testing-java-with-gradle versions: fpt: '*' ghes: '*' diff --git a/content/actions/use-cases-and-examples/building-and-testing/building-and-testing-java-with-maven.md b/content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-java-with-maven.md similarity index 98% rename from content/actions/use-cases-and-examples/building-and-testing/building-and-testing-java-with-maven.md rename to content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-java-with-maven.md index 06bfa290bf33..3fdfbdc91fbd 100644 --- a/content/actions/use-cases-and-examples/building-and-testing/building-and-testing-java-with-maven.md +++ b/content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-java-with-maven.md @@ -5,6 +5,7 @@ redirect_from: - /actions/language-and-framework-guides/building-and-testing-java-with-maven - /actions/guides/building-and-testing-java-with-maven - /actions/automating-builds-and-tests/building-and-testing-java-with-maven + - /actions/use-cases-and-examples/building-and-testing/building-and-testing-java-with-maven versions: fpt: '*' ghes: '*' diff --git a/content/actions/use-cases-and-examples/building-and-testing/building-and-testing-net.md b/content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-net.md similarity index 99% rename from content/actions/use-cases-and-examples/building-and-testing/building-and-testing-net.md rename to content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-net.md index 2022a16a319d..555916e8363b 100644 --- a/content/actions/use-cases-and-examples/building-and-testing/building-and-testing-net.md +++ b/content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-net.md @@ -4,6 +4,7 @@ intro: You can create a continuous integration (CI) workflow to build and test y redirect_from: - /actions/guides/building-and-testing-net - /actions/automating-builds-and-tests/building-and-testing-net + - /actions/use-cases-and-examples/building-and-testing/building-and-testing-net versions: fpt: '*' ghes: '*' diff --git a/content/actions/use-cases-and-examples/building-and-testing/building-and-testing-nodejs.md b/content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-nodejs.md similarity index 99% rename from content/actions/use-cases-and-examples/building-and-testing/building-and-testing-nodejs.md rename to content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-nodejs.md index 54f2fd3e1628..0c21401daa8b 100644 --- a/content/actions/use-cases-and-examples/building-and-testing/building-and-testing-nodejs.md +++ b/content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-nodejs.md @@ -6,6 +6,7 @@ redirect_from: - /actions/language-and-framework-guides/using-nodejs-with-github-actions - /actions/guides/building-and-testing-nodejs - /actions/automating-builds-and-tests/building-and-testing-nodejs + - /actions/use-cases-and-examples/building-and-testing/building-and-testing-nodejs versions: fpt: '*' ghes: '*' diff --git a/content/actions/use-cases-and-examples/building-and-testing/building-and-testing-powershell.md b/content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-powershell.md similarity index 99% rename from content/actions/use-cases-and-examples/building-and-testing/building-and-testing-powershell.md rename to content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-powershell.md index 4addbb092fd7..4f38d926ab53 100644 --- a/content/actions/use-cases-and-examples/building-and-testing/building-and-testing-powershell.md +++ b/content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-powershell.md @@ -4,6 +4,7 @@ intro: You can create a continuous integration (CI) workflow to build and test y redirect_from: - /actions/guides/building-and-testing-powershell - /actions/automating-builds-and-tests/building-and-testing-powershell + - /actions/use-cases-and-examples/building-and-testing/building-and-testing-powershell versions: fpt: '*' ghes: '*' diff --git a/content/actions/use-cases-and-examples/building-and-testing/building-and-testing-python.md b/content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-python.md similarity index 99% rename from content/actions/use-cases-and-examples/building-and-testing/building-and-testing-python.md rename to content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-python.md index bcf371960133..272e4b9d5fb4 100644 --- a/content/actions/use-cases-and-examples/building-and-testing/building-and-testing-python.md +++ b/content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-python.md @@ -6,6 +6,7 @@ redirect_from: - /actions/language-and-framework-guides/using-python-with-github-actions - /actions/guides/building-and-testing-python - /actions/automating-builds-and-tests/building-and-testing-python + - /actions/use-cases-and-examples/building-and-testing/building-and-testing-python versions: fpt: '*' ghes: '*' diff --git a/content/actions/use-cases-and-examples/building-and-testing/building-and-testing-ruby.md b/content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-ruby.md similarity index 99% rename from content/actions/use-cases-and-examples/building-and-testing/building-and-testing-ruby.md rename to content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-ruby.md index 2c7e7dcf1b74..c730c74dc3f6 100644 --- a/content/actions/use-cases-and-examples/building-and-testing/building-and-testing-ruby.md +++ b/content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-ruby.md @@ -4,6 +4,7 @@ intro: You can create a continuous integration (CI) workflow to build and test y redirect_from: - /actions/guides/building-and-testing-ruby - /actions/automating-builds-and-tests/building-and-testing-ruby + - /actions/use-cases-and-examples/building-and-testing/building-and-testing-ruby versions: fpt: '*' ghes: '*' diff --git a/content/actions/use-cases-and-examples/building-and-testing/building-and-testing-rust.md b/content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-rust.md similarity index 98% rename from content/actions/use-cases-and-examples/building-and-testing/building-and-testing-rust.md rename to content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-rust.md index d472c5885056..7a770717423e 100644 --- a/content/actions/use-cases-and-examples/building-and-testing/building-and-testing-rust.md +++ b/content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-rust.md @@ -9,6 +9,8 @@ type: tutorial topics: - CI shortTitle: Build & test Rust +redirect_from: + - /actions/use-cases-and-examples/building-and-testing/building-and-testing-rust --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/use-cases-and-examples/building-and-testing/building-and-testing-swift.md b/content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-swift.md similarity index 98% rename from content/actions/use-cases-and-examples/building-and-testing/building-and-testing-swift.md rename to content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-swift.md index 6df66633b00e..ada22c274137 100644 --- a/content/actions/use-cases-and-examples/building-and-testing/building-and-testing-swift.md +++ b/content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-swift.md @@ -4,6 +4,7 @@ intro: You can create a continuous integration (CI) workflow to build and test y redirect_from: - /actions/guides/building-and-testing-swift - /actions/automating-builds-and-tests/building-and-testing-swift + - /actions/use-cases-and-examples/building-and-testing/building-and-testing-swift versions: fpt: '*' ghes: '*' diff --git a/content/actions/use-cases-and-examples/building-and-testing/building-and-testing-xamarin-applications.md b/content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-xamarin-applications.md similarity index 97% rename from content/actions/use-cases-and-examples/building-and-testing/building-and-testing-xamarin-applications.md rename to content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-xamarin-applications.md index 31b18ad4922b..427cd67c6067 100644 --- a/content/actions/use-cases-and-examples/building-and-testing/building-and-testing-xamarin-applications.md +++ b/content/actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-xamarin-applications.md @@ -4,6 +4,7 @@ intro: You can create a continuous integration (CI) workflow in GitHub Actions t redirect_from: - /actions/guides/building-and-testing-xamarin-applications - /actions/automating-builds-and-tests/building-and-testing-xamarin-applications + - /actions/use-cases-and-examples/building-and-testing/building-and-testing-xamarin-applications versions: fpt: '*' ghes: '*' diff --git a/content/actions/use-cases-and-examples/building-and-testing/index.md b/content/actions/how-tos/use-cases-and-examples/building-and-testing/index.md similarity index 95% rename from content/actions/use-cases-and-examples/building-and-testing/index.md rename to content/actions/how-tos/use-cases-and-examples/building-and-testing/index.md index ad1f98fb4ac1..3267d65f91c8 100644 --- a/content/actions/use-cases-and-examples/building-and-testing/index.md +++ b/content/actions/how-tos/use-cases-and-examples/building-and-testing/index.md @@ -17,6 +17,7 @@ redirect_from: - /actions/automating-builds-and-tests/building-and-testing-nodejs-or-python - /actions/automating-builds-and-tests - /actions/examples/using-scripts-to-test-your-code-on-a-runner + - /actions/use-cases-and-examples/building-and-testing children: - /building-and-testing-go - /building-and-testing-java-with-ant diff --git a/content/actions/use-cases-and-examples/deploying/deploying-docker-to-azure-app-service.md b/content/actions/how-tos/use-cases-and-examples/deploying/deploying-docker-to-azure-app-service.md similarity index 98% rename from content/actions/use-cases-and-examples/deploying/deploying-docker-to-azure-app-service.md rename to content/actions/how-tos/use-cases-and-examples/deploying/deploying-docker-to-azure-app-service.md index 581b02ad7912..16aafee2b191 100644 --- a/content/actions/use-cases-and-examples/deploying/deploying-docker-to-azure-app-service.md +++ b/content/actions/how-tos/use-cases-and-examples/deploying/deploying-docker-to-azure-app-service.md @@ -13,6 +13,7 @@ topics: - Azure App Service redirect_from: - /actions/deployment/deploying-to-your-cloud-provider/deploying-to-azure/deploying-docker-to-azure-app-service + - /actions/use-cases-and-examples/deploying/deploying-docker-to-azure-app-service --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/use-cases-and-examples/deploying/deploying-java-to-azure-app-service.md b/content/actions/how-tos/use-cases-and-examples/deploying/deploying-java-to-azure-app-service.md similarity index 98% rename from content/actions/use-cases-and-examples/deploying/deploying-java-to-azure-app-service.md rename to content/actions/how-tos/use-cases-and-examples/deploying/deploying-java-to-azure-app-service.md index 9b5f3b875476..e52679c16769 100644 --- a/content/actions/use-cases-and-examples/deploying/deploying-java-to-azure-app-service.md +++ b/content/actions/how-tos/use-cases-and-examples/deploying/deploying-java-to-azure-app-service.md @@ -12,6 +12,7 @@ topics: - Azure App Service redirect_from: - /actions/deployment/deploying-to-your-cloud-provider/deploying-to-azure/deploying-java-to-azure-app-service + - /actions/use-cases-and-examples/deploying/deploying-java-to-azure-app-service --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/use-cases-and-examples/deploying/deploying-net-to-azure-app-service.md b/content/actions/how-tos/use-cases-and-examples/deploying/deploying-net-to-azure-app-service.md similarity index 98% rename from content/actions/use-cases-and-examples/deploying/deploying-net-to-azure-app-service.md rename to content/actions/how-tos/use-cases-and-examples/deploying/deploying-net-to-azure-app-service.md index 04780c3bd330..c87a75a83a01 100644 --- a/content/actions/use-cases-and-examples/deploying/deploying-net-to-azure-app-service.md +++ b/content/actions/how-tos/use-cases-and-examples/deploying/deploying-net-to-azure-app-service.md @@ -11,6 +11,7 @@ topics: - Azure App Service redirect_from: - /actions/deployment/deploying-to-your-cloud-provider/deploying-to-azure/deploying-net-to-azure-app-service + - /actions/use-cases-and-examples/deploying/deploying-net-to-azure-app-service --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/use-cases-and-examples/deploying/deploying-nodejs-to-azure-app-service.md b/content/actions/how-tos/use-cases-and-examples/deploying/deploying-nodejs-to-azure-app-service.md similarity index 98% rename from content/actions/use-cases-and-examples/deploying/deploying-nodejs-to-azure-app-service.md rename to content/actions/how-tos/use-cases-and-examples/deploying/deploying-nodejs-to-azure-app-service.md index 47e3381b9519..0d5113c5b865 100644 --- a/content/actions/use-cases-and-examples/deploying/deploying-nodejs-to-azure-app-service.md +++ b/content/actions/how-tos/use-cases-and-examples/deploying/deploying-nodejs-to-azure-app-service.md @@ -6,6 +6,7 @@ redirect_from: - /actions/deployment/deploying-to-azure-app-service - /actions/deployment/deploying-to-your-cloud-provider/deploying-to-azure-app-service - /actions/deployment/deploying-to-your-cloud-provider/deploying-to-azure/deploying-nodejs-to-azure-app-service + - /actions/use-cases-and-examples/deploying/deploying-nodejs-to-azure-app-service versions: fpt: '*' ghes: '*' diff --git a/content/actions/use-cases-and-examples/deploying/deploying-php-to-azure-app-service.md b/content/actions/how-tos/use-cases-and-examples/deploying/deploying-php-to-azure-app-service.md similarity index 98% rename from content/actions/use-cases-and-examples/deploying/deploying-php-to-azure-app-service.md rename to content/actions/how-tos/use-cases-and-examples/deploying/deploying-php-to-azure-app-service.md index 3f2b171ee3ce..5433968f6892 100644 --- a/content/actions/use-cases-and-examples/deploying/deploying-php-to-azure-app-service.md +++ b/content/actions/how-tos/use-cases-and-examples/deploying/deploying-php-to-azure-app-service.md @@ -11,6 +11,7 @@ topics: - Azure App Service redirect_from: - /actions/deployment/deploying-to-your-cloud-provider/deploying-to-azure/deploying-php-to-azure-app-service + - /actions/use-cases-and-examples/deploying/deploying-php-to-azure-app-service --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/use-cases-and-examples/deploying/deploying-python-to-azure-app-service.md b/content/actions/how-tos/use-cases-and-examples/deploying/deploying-python-to-azure-app-service.md similarity index 98% rename from content/actions/use-cases-and-examples/deploying/deploying-python-to-azure-app-service.md rename to content/actions/how-tos/use-cases-and-examples/deploying/deploying-python-to-azure-app-service.md index 2b0c0db5d4ac..c39ff1eebdbb 100644 --- a/content/actions/use-cases-and-examples/deploying/deploying-python-to-azure-app-service.md +++ b/content/actions/how-tos/use-cases-and-examples/deploying/deploying-python-to-azure-app-service.md @@ -12,6 +12,7 @@ topics: - Azure App Service redirect_from: - /actions/deployment/deploying-to-your-cloud-provider/deploying-to-azure/deploying-python-to-azure-app-service + - /actions/use-cases-and-examples/deploying/deploying-python-to-azure-app-service --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/use-cases-and-examples/deploying/deploying-to-amazon-elastic-container-service.md b/content/actions/how-tos/use-cases-and-examples/deploying/deploying-to-amazon-elastic-container-service.md similarity index 98% rename from content/actions/use-cases-and-examples/deploying/deploying-to-amazon-elastic-container-service.md rename to content/actions/how-tos/use-cases-and-examples/deploying/deploying-to-amazon-elastic-container-service.md index bf6122d3f52f..bb2f9a44d831 100644 --- a/content/actions/use-cases-and-examples/deploying/deploying-to-amazon-elastic-container-service.md +++ b/content/actions/how-tos/use-cases-and-examples/deploying/deploying-to-amazon-elastic-container-service.md @@ -5,6 +5,7 @@ redirect_from: - /actions/guides/deploying-to-amazon-elastic-container-service - /actions/deployment/deploying-to-amazon-elastic-container-service - /actions/deployment/deploying-to-your-cloud-provider/deploying-to-amazon-elastic-container-service + - /actions/use-cases-and-examples/deploying/deploying-to-amazon-elastic-container-service versions: fpt: '*' ghes: '*' diff --git a/content/actions/use-cases-and-examples/deploying/deploying-to-azure-kubernetes-service.md b/content/actions/how-tos/use-cases-and-examples/deploying/deploying-to-azure-kubernetes-service.md similarity index 98% rename from content/actions/use-cases-and-examples/deploying/deploying-to-azure-kubernetes-service.md rename to content/actions/how-tos/use-cases-and-examples/deploying/deploying-to-azure-kubernetes-service.md index 88b36af68658..7df3575d231a 100644 --- a/content/actions/use-cases-and-examples/deploying/deploying-to-azure-kubernetes-service.md +++ b/content/actions/how-tos/use-cases-and-examples/deploying/deploying-to-azure-kubernetes-service.md @@ -11,6 +11,7 @@ topics: - Azure Kubernetes Service redirect_from: - /actions/deployment/deploying-to-your-cloud-provider/deploying-to-azure/deploying-to-azure-kubernetes-service + - /actions/use-cases-and-examples/deploying/deploying-to-azure-kubernetes-service --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/use-cases-and-examples/deploying/deploying-to-azure-static-web-app.md b/content/actions/how-tos/use-cases-and-examples/deploying/deploying-to-azure-static-web-app.md similarity index 98% rename from content/actions/use-cases-and-examples/deploying/deploying-to-azure-static-web-app.md rename to content/actions/how-tos/use-cases-and-examples/deploying/deploying-to-azure-static-web-app.md index dd7534e785e5..a6954cef2452 100644 --- a/content/actions/use-cases-and-examples/deploying/deploying-to-azure-static-web-app.md +++ b/content/actions/how-tos/use-cases-and-examples/deploying/deploying-to-azure-static-web-app.md @@ -11,6 +11,7 @@ topics: - Azure Static Web Apps redirect_from: - /actions/deployment/deploying-to-your-cloud-provider/deploying-to-azure/deploying-to-azure-static-web-app + - /actions/use-cases-and-examples/deploying/deploying-to-azure-static-web-app --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/use-cases-and-examples/deploying/deploying-to-google-kubernetes-engine.md b/content/actions/how-tos/use-cases-and-examples/deploying/deploying-to-google-kubernetes-engine.md similarity index 98% rename from content/actions/use-cases-and-examples/deploying/deploying-to-google-kubernetes-engine.md rename to content/actions/how-tos/use-cases-and-examples/deploying/deploying-to-google-kubernetes-engine.md index b322458c91ae..3490b4ea23c9 100644 --- a/content/actions/use-cases-and-examples/deploying/deploying-to-google-kubernetes-engine.md +++ b/content/actions/how-tos/use-cases-and-examples/deploying/deploying-to-google-kubernetes-engine.md @@ -5,6 +5,7 @@ redirect_from: - /actions/guides/deploying-to-google-kubernetes-engine - /actions/deployment/deploying-to-google-kubernetes-engine - /actions/deployment/deploying-to-your-cloud-provider/deploying-to-google-kubernetes-engine + - /actions/use-cases-and-examples/deploying/deploying-to-google-kubernetes-engine versions: fpt: '*' ghes: '*' diff --git a/content/actions/use-cases-and-examples/deploying/index.md b/content/actions/how-tos/use-cases-and-examples/deploying/index.md similarity index 91% rename from content/actions/use-cases-and-examples/deploying/index.md rename to content/actions/how-tos/use-cases-and-examples/deploying/index.md index f84bdb85a28c..ace370f6178a 100644 --- a/content/actions/use-cases-and-examples/deploying/index.md +++ b/content/actions/how-tos/use-cases-and-examples/deploying/index.md @@ -18,5 +18,7 @@ children: - /deploying-to-amazon-elastic-container-service - /deploying-to-google-kubernetes-engine - /installing-an-apple-certificate-on-macos-runners-for-xcode-development +redirect_from: + - /actions/use-cases-and-examples/deploying --- diff --git a/content/actions/use-cases-and-examples/deploying/installing-an-apple-certificate-on-macos-runners-for-xcode-development.md b/content/actions/how-tos/use-cases-and-examples/deploying/installing-an-apple-certificate-on-macos-runners-for-xcode-development.md similarity index 98% rename from content/actions/use-cases-and-examples/deploying/installing-an-apple-certificate-on-macos-runners-for-xcode-development.md rename to content/actions/how-tos/use-cases-and-examples/deploying/installing-an-apple-certificate-on-macos-runners-for-xcode-development.md index 9dfa207925a4..2a5de1f473f1 100644 --- a/content/actions/use-cases-and-examples/deploying/installing-an-apple-certificate-on-macos-runners-for-xcode-development.md +++ b/content/actions/how-tos/use-cases-and-examples/deploying/installing-an-apple-certificate-on-macos-runners-for-xcode-development.md @@ -7,6 +7,7 @@ redirect_from: - /actions/deployment/installing-an-apple-certificate-on-macos-runners-for-xcode-development - /actions/deployment/deploying-xcode-applications/installing-an-apple-certificate-on-macos-runners-for-xcode-development - /actions/deployment/deploying-xcode-applications + - /actions/use-cases-and-examples/deploying/installing-an-apple-certificate-on-macos-runners-for-xcode-development versions: fpt: '*' ghes: '*' diff --git a/content/actions/use-cases-and-examples/index.md b/content/actions/how-tos/use-cases-and-examples/index.md similarity index 93% rename from content/actions/use-cases-and-examples/index.md rename to content/actions/how-tos/use-cases-and-examples/index.md index d70d541df699..1080e73b208b 100644 --- a/content/actions/use-cases-and-examples/index.md +++ b/content/actions/how-tos/use-cases-and-examples/index.md @@ -11,6 +11,7 @@ redirect_from: - /actions/deployment - /actions/deployment/deploying-to-your-cloud-provider - /actions/deployment/deploying-to-your-cloud-provider/deploying-to-azure + - /actions/use-cases-and-examples children: - building-and-testing - deploying diff --git a/content/actions/use-cases-and-examples/project-management/adding-labels-to-issues.md b/content/actions/how-tos/use-cases-and-examples/project-management/adding-labels-to-issues.md similarity index 97% rename from content/actions/use-cases-and-examples/project-management/adding-labels-to-issues.md rename to content/actions/how-tos/use-cases-and-examples/project-management/adding-labels-to-issues.md index bed3d740725a..f2bffc143962 100644 --- a/content/actions/use-cases-and-examples/project-management/adding-labels-to-issues.md +++ b/content/actions/how-tos/use-cases-and-examples/project-management/adding-labels-to-issues.md @@ -5,6 +5,7 @@ intro: 'You can use {% data variables.product.prodname_actions %} to automatical redirect_from: - /actions/guides/adding-labels-to-issues - /actions/managing-issues-and-pull-requests/adding-labels-to-issues + - /actions/use-cases-and-examples/project-management/adding-labels-to-issues versions: fpt: '*' ghes: '*' diff --git a/content/actions/use-cases-and-examples/project-management/closing-inactive-issues.md b/content/actions/how-tos/use-cases-and-examples/project-management/closing-inactive-issues.md similarity index 98% rename from content/actions/use-cases-and-examples/project-management/closing-inactive-issues.md rename to content/actions/how-tos/use-cases-and-examples/project-management/closing-inactive-issues.md index b22bcd249971..09a068ebb2c6 100644 --- a/content/actions/use-cases-and-examples/project-management/closing-inactive-issues.md +++ b/content/actions/how-tos/use-cases-and-examples/project-management/closing-inactive-issues.md @@ -5,6 +5,7 @@ intro: 'You can use {% data variables.product.prodname_actions %} to comment on redirect_from: - /actions/guides/closing-inactive-issues - /actions/managing-issues-and-pull-requests/closing-inactive-issues + - /actions/use-cases-and-examples/project-management/closing-inactive-issues versions: fpt: '*' ghes: '*' diff --git a/content/actions/use-cases-and-examples/project-management/commenting-on-an-issue-when-a-label-is-added.md b/content/actions/how-tos/use-cases-and-examples/project-management/commenting-on-an-issue-when-a-label-is-added.md similarity index 97% rename from content/actions/use-cases-and-examples/project-management/commenting-on-an-issue-when-a-label-is-added.md rename to content/actions/how-tos/use-cases-and-examples/project-management/commenting-on-an-issue-when-a-label-is-added.md index fb7f97e74aaf..0dac8a7127b4 100644 --- a/content/actions/use-cases-and-examples/project-management/commenting-on-an-issue-when-a-label-is-added.md +++ b/content/actions/how-tos/use-cases-and-examples/project-management/commenting-on-an-issue-when-a-label-is-added.md @@ -4,6 +4,7 @@ intro: 'You can use {% data variables.product.prodname_actions %} to automatical redirect_from: - /actions/guides/commenting-on-an-issue-when-a-label-is-added - /actions/managing-issues-and-pull-requests/commenting-on-an-issue-when-a-label-is-added + - /actions/use-cases-and-examples/project-management/commenting-on-an-issue-when-a-label-is-added versions: fpt: '*' ghes: '*' diff --git a/content/actions/use-cases-and-examples/project-management/index.md b/content/actions/how-tos/use-cases-and-examples/project-management/index.md similarity index 91% rename from content/actions/use-cases-and-examples/project-management/index.md rename to content/actions/how-tos/use-cases-and-examples/project-management/index.md index 6221fc8dad00..9a82e21169ea 100644 --- a/content/actions/use-cases-and-examples/project-management/index.md +++ b/content/actions/how-tos/use-cases-and-examples/project-management/index.md @@ -15,5 +15,6 @@ children: - /scheduling-issue-creation redirect_from: - /actions/managing-issues-and-pull-requests + - /actions/use-cases-and-examples/project-management --- diff --git a/content/actions/use-cases-and-examples/project-management/moving-assigned-issues-on-project-boards.md b/content/actions/how-tos/use-cases-and-examples/project-management/moving-assigned-issues-on-project-boards.md similarity index 98% rename from content/actions/use-cases-and-examples/project-management/moving-assigned-issues-on-project-boards.md rename to content/actions/how-tos/use-cases-and-examples/project-management/moving-assigned-issues-on-project-boards.md index 66b5d53c80fe..8eb8a9c34e2f 100644 --- a/content/actions/use-cases-and-examples/project-management/moving-assigned-issues-on-project-boards.md +++ b/content/actions/how-tos/use-cases-and-examples/project-management/moving-assigned-issues-on-project-boards.md @@ -4,6 +4,7 @@ intro: 'You can use {% data variables.product.prodname_actions %} to automatical redirect_from: - /actions/guides/moving-assigned-issues-on-project-boards - /actions/managing-issues-and-pull-requests/moving-assigned-issues-on-project-boards + - /actions/use-cases-and-examples/project-management/moving-assigned-issues-on-project-boards versions: feature: projects-v1 type: tutorial diff --git a/content/actions/use-cases-and-examples/project-management/removing-a-label-when-a-card-is-added-to-a-project-board-column.md b/content/actions/how-tos/use-cases-and-examples/project-management/removing-a-label-when-a-card-is-added-to-a-project-board-column.md similarity index 98% rename from content/actions/use-cases-and-examples/project-management/removing-a-label-when-a-card-is-added-to-a-project-board-column.md rename to content/actions/how-tos/use-cases-and-examples/project-management/removing-a-label-when-a-card-is-added-to-a-project-board-column.md index 1b070dce5ee5..eb2e6dade18c 100644 --- a/content/actions/use-cases-and-examples/project-management/removing-a-label-when-a-card-is-added-to-a-project-board-column.md +++ b/content/actions/how-tos/use-cases-and-examples/project-management/removing-a-label-when-a-card-is-added-to-a-project-board-column.md @@ -4,6 +4,7 @@ intro: 'You can use {% data variables.product.prodname_actions %} to automatical redirect_from: - /actions/guides/removing-a-label-when-a-card-is-added-to-a-project-board-column - /actions/managing-issues-and-pull-requests/removing-a-label-when-a-card-is-added-to-a-project-board-column + - /actions/use-cases-and-examples/project-management/removing-a-label-when-a-card-is-added-to-a-project-board-column versions: feature: projects-v1 type: tutorial diff --git a/content/actions/use-cases-and-examples/project-management/scheduling-issue-creation.md b/content/actions/how-tos/use-cases-and-examples/project-management/scheduling-issue-creation.md similarity index 98% rename from content/actions/use-cases-and-examples/project-management/scheduling-issue-creation.md rename to content/actions/how-tos/use-cases-and-examples/project-management/scheduling-issue-creation.md index 02a158833396..a34436121131 100644 --- a/content/actions/use-cases-and-examples/project-management/scheduling-issue-creation.md +++ b/content/actions/how-tos/use-cases-and-examples/project-management/scheduling-issue-creation.md @@ -5,6 +5,7 @@ intro: 'You can use {% data variables.product.prodname_actions %} to create an i redirect_from: - /actions/guides/scheduling-issue-creation - /actions/managing-issues-and-pull-requests/scheduling-issue-creation + - /actions/use-cases-and-examples/project-management/scheduling-issue-creation versions: fpt: '*' ghes: '*' diff --git a/content/actions/use-cases-and-examples/publishing-packages/index.md b/content/actions/how-tos/use-cases-and-examples/publishing-packages/index.md similarity index 89% rename from content/actions/use-cases-and-examples/publishing-packages/index.md rename to content/actions/how-tos/use-cases-and-examples/publishing-packages/index.md index 6f134c2f13ba..ca9b07dc5411 100644 --- a/content/actions/use-cases-and-examples/publishing-packages/index.md +++ b/content/actions/how-tos/use-cases-and-examples/publishing-packages/index.md @@ -9,6 +9,7 @@ versions: redirect_from: - /actions/publishing-packages-with-github-actions - /actions/publishing-packages + - /actions/use-cases-and-examples/publishing-packages children: - /publishing-docker-images - /publishing-java-packages-with-gradle diff --git a/content/actions/use-cases-and-examples/publishing-packages/publishing-docker-images.md b/content/actions/how-tos/use-cases-and-examples/publishing-packages/publishing-docker-images.md similarity index 99% rename from content/actions/use-cases-and-examples/publishing-packages/publishing-docker-images.md rename to content/actions/how-tos/use-cases-and-examples/publishing-packages/publishing-docker-images.md index f0665d10b663..bd5bec5aeb0c 100644 --- a/content/actions/use-cases-and-examples/publishing-packages/publishing-docker-images.md +++ b/content/actions/how-tos/use-cases-and-examples/publishing-packages/publishing-docker-images.md @@ -6,6 +6,7 @@ redirect_from: - /actions/language-and-framework-guides/publishing-docker-images - /actions/guides/publishing-docker-images - /actions/publishing-packages/publishing-docker-images + - /actions/use-cases-and-examples/publishing-packages/publishing-docker-images versions: fpt: '*' ghes: '*' diff --git a/content/actions/use-cases-and-examples/publishing-packages/publishing-java-packages-with-gradle.md b/content/actions/how-tos/use-cases-and-examples/publishing-packages/publishing-java-packages-with-gradle.md similarity index 99% rename from content/actions/use-cases-and-examples/publishing-packages/publishing-java-packages-with-gradle.md rename to content/actions/how-tos/use-cases-and-examples/publishing-packages/publishing-java-packages-with-gradle.md index 7eac2add2d09..e3a81a70dda4 100644 --- a/content/actions/use-cases-and-examples/publishing-packages/publishing-java-packages-with-gradle.md +++ b/content/actions/how-tos/use-cases-and-examples/publishing-packages/publishing-java-packages-with-gradle.md @@ -6,6 +6,7 @@ redirect_from: - /actions/language-and-framework-guides/publishing-java-packages-with-gradle - /actions/guides/publishing-java-packages-with-gradle - /actions/publishing-packages/publishing-java-packages-with-gradle + - /actions/use-cases-and-examples/publishing-packages/publishing-java-packages-with-gradle versions: fpt: '*' ghes: '*' diff --git a/content/actions/use-cases-and-examples/publishing-packages/publishing-java-packages-with-maven.md b/content/actions/how-tos/use-cases-and-examples/publishing-packages/publishing-java-packages-with-maven.md similarity index 99% rename from content/actions/use-cases-and-examples/publishing-packages/publishing-java-packages-with-maven.md rename to content/actions/how-tos/use-cases-and-examples/publishing-packages/publishing-java-packages-with-maven.md index f796f3dc6689..eca8f0179189 100644 --- a/content/actions/use-cases-and-examples/publishing-packages/publishing-java-packages-with-maven.md +++ b/content/actions/how-tos/use-cases-and-examples/publishing-packages/publishing-java-packages-with-maven.md @@ -6,6 +6,7 @@ redirect_from: - /actions/language-and-framework-guides/publishing-java-packages-with-maven - /actions/guides/publishing-java-packages-with-maven - /actions/publishing-packages/publishing-java-packages-with-maven + - /actions/use-cases-and-examples/publishing-packages/publishing-java-packages-with-maven versions: fpt: '*' ghes: '*' diff --git a/content/actions/use-cases-and-examples/publishing-packages/publishing-nodejs-packages.md b/content/actions/how-tos/use-cases-and-examples/publishing-packages/publishing-nodejs-packages.md similarity index 99% rename from content/actions/use-cases-and-examples/publishing-packages/publishing-nodejs-packages.md rename to content/actions/how-tos/use-cases-and-examples/publishing-packages/publishing-nodejs-packages.md index 942ef4402242..32b4b9c723da 100644 --- a/content/actions/use-cases-and-examples/publishing-packages/publishing-nodejs-packages.md +++ b/content/actions/how-tos/use-cases-and-examples/publishing-packages/publishing-nodejs-packages.md @@ -7,6 +7,7 @@ redirect_from: - /actions/language-and-framework-guides/publishing-nodejs-packages - /actions/guides/publishing-nodejs-packages - /actions/publishing-packages/publishing-nodejs-packages + - /actions/use-cases-and-examples/publishing-packages/publishing-nodejs-packages versions: fpt: '*' ghes: '*' diff --git a/content/actions/use-cases-and-examples/using-containerized-services/creating-postgresql-service-containers.md b/content/actions/how-tos/use-cases-and-examples/using-containerized-services/creating-postgresql-service-containers.md similarity index 99% rename from content/actions/use-cases-and-examples/using-containerized-services/creating-postgresql-service-containers.md rename to content/actions/how-tos/use-cases-and-examples/using-containerized-services/creating-postgresql-service-containers.md index 334e1d8ba589..a7601cac3a1e 100644 --- a/content/actions/use-cases-and-examples/using-containerized-services/creating-postgresql-service-containers.md +++ b/content/actions/how-tos/use-cases-and-examples/using-containerized-services/creating-postgresql-service-containers.md @@ -7,6 +7,7 @@ redirect_from: - /actions/configuring-and-managing-workflows/creating-postgresql-service-containers - /actions/guides/creating-postgresql-service-containers - /actions/using-containerized-services/creating-postgresql-service-containers + - /actions/use-cases-and-examples/using-containerized-services/creating-postgresql-service-containers versions: fpt: '*' ghes: '*' diff --git a/content/actions/use-cases-and-examples/using-containerized-services/creating-redis-service-containers.md b/content/actions/how-tos/use-cases-and-examples/using-containerized-services/creating-redis-service-containers.md similarity index 99% rename from content/actions/use-cases-and-examples/using-containerized-services/creating-redis-service-containers.md rename to content/actions/how-tos/use-cases-and-examples/using-containerized-services/creating-redis-service-containers.md index 0940c1b28e7a..6ad9df2474df 100644 --- a/content/actions/use-cases-and-examples/using-containerized-services/creating-redis-service-containers.md +++ b/content/actions/how-tos/use-cases-and-examples/using-containerized-services/creating-redis-service-containers.md @@ -7,6 +7,7 @@ redirect_from: - /actions/configuring-and-managing-workflows/creating-redis-service-containers - /actions/guides/creating-redis-service-containers - /actions/using-containerized-services/creating-redis-service-containers + - /actions/use-cases-and-examples/using-containerized-services/creating-redis-service-containers versions: fpt: '*' ghes: '*' diff --git a/content/actions/use-cases-and-examples/using-containerized-services/index.md b/content/actions/how-tos/use-cases-and-examples/using-containerized-services/index.md similarity index 90% rename from content/actions/use-cases-and-examples/using-containerized-services/index.md rename to content/actions/how-tos/use-cases-and-examples/using-containerized-services/index.md index 3fcda4d5f635..0079d24879c3 100644 --- a/content/actions/use-cases-and-examples/using-containerized-services/index.md +++ b/content/actions/how-tos/use-cases-and-examples/using-containerized-services/index.md @@ -11,6 +11,7 @@ redirect_from: - /actions/configuring-and-managing-workflows/using-databases-and-service-containers - /actions/guides/using-databases-and-service-containers - /actions/using-containerized-services + - /actions/use-cases-and-examples/using-containerized-services children: - /creating-postgresql-service-containers - /creating-redis-service-containers diff --git a/content/actions/using-github-hosted-runners/connecting-to-a-private-network/index.md b/content/actions/how-tos/using-github-hosted-runners/connecting-to-a-private-network/index.md similarity index 82% rename from content/actions/using-github-hosted-runners/connecting-to-a-private-network/index.md rename to content/actions/how-tos/using-github-hosted-runners/connecting-to-a-private-network/index.md index cdfe6326f260..fcdb8e931aa5 100644 --- a/content/actions/using-github-hosted-runners/connecting-to-a-private-network/index.md +++ b/content/actions/how-tos/using-github-hosted-runners/connecting-to-a-private-network/index.md @@ -9,6 +9,8 @@ versions: children: - /using-an-api-gateway-with-oidc - /using-wireguard-to-create-a-network-overlay +redirect_from: + - /actions/using-github-hosted-runners/connecting-to-a-private-network --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/using-github-hosted-runners/connecting-to-a-private-network/using-an-api-gateway-with-oidc.md b/content/actions/how-tos/using-github-hosted-runners/connecting-to-a-private-network/using-an-api-gateway-with-oidc.md similarity index 91% rename from content/actions/using-github-hosted-runners/connecting-to-a-private-network/using-an-api-gateway-with-oidc.md rename to content/actions/how-tos/using-github-hosted-runners/connecting-to-a-private-network/using-an-api-gateway-with-oidc.md index c73915c5deb8..feecd1365f39 100644 --- a/content/actions/using-github-hosted-runners/connecting-to-a-private-network/using-an-api-gateway-with-oidc.md +++ b/content/actions/how-tos/using-github-hosted-runners/connecting-to-a-private-network/using-an-api-gateway-with-oidc.md @@ -10,6 +10,9 @@ type: how_to topics: - Actions - Developer +redirect_from: + - /actions/using-github-hosted-runners/using-github-hosted-runners/using-an-api-gateway-with-oidc + - /actions/using-github-hosted-runners/connecting-to-a-private-network/using-an-api-gateway-with-oidc --- ## Using an API gateway with OIDC diff --git a/content/actions/using-github-hosted-runners/connecting-to-a-private-network/using-wireguard-to-create-a-network-overlay.md b/content/actions/how-tos/using-github-hosted-runners/connecting-to-a-private-network/using-wireguard-to-create-a-network-overlay.md similarity index 94% rename from content/actions/using-github-hosted-runners/connecting-to-a-private-network/using-wireguard-to-create-a-network-overlay.md rename to content/actions/how-tos/using-github-hosted-runners/connecting-to-a-private-network/using-wireguard-to-create-a-network-overlay.md index 0361d0fc27e5..e7b8a3107b0e 100644 --- a/content/actions/using-github-hosted-runners/connecting-to-a-private-network/using-wireguard-to-create-a-network-overlay.md +++ b/content/actions/how-tos/using-github-hosted-runners/connecting-to-a-private-network/using-wireguard-to-create-a-network-overlay.md @@ -10,6 +10,9 @@ type: how_to topics: - Actions - Developer +redirect_from: + - /actions/using-github-hosted-runners/using-github-hosted-runners/using-wireguard-to-create-a-network-overlay + - /actions/using-github-hosted-runners/connecting-to-a-private-network/using-wireguard-to-create-a-network-overlay --- ## Using WireGuard to create a network overlay diff --git a/content/actions/using-github-hosted-runners/index.md b/content/actions/how-tos/using-github-hosted-runners/index.md similarity index 86% rename from content/actions/using-github-hosted-runners/index.md rename to content/actions/how-tos/using-github-hosted-runners/index.md index e3e98756b306..267d21d6cfb5 100644 --- a/content/actions/using-github-hosted-runners/index.md +++ b/content/actions/how-tos/using-github-hosted-runners/index.md @@ -10,6 +10,8 @@ children: - /using-github-hosted-runners - /using-larger-runners - /connecting-to-a-private-network +redirect_from: + - /actions/using-github-hosted-runners --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners.md b/content/actions/how-tos/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners.md similarity index 99% rename from content/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners.md rename to content/actions/how-tos/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners.md index 54da64d62ca5..8fc01eedb108 100644 --- a/content/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners.md +++ b/content/actions/how-tos/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners.md @@ -11,6 +11,7 @@ redirect_from: - /actions/reference/software-installed-on-github-hosted-runners - /actions/reference/specifications-for-github-hosted-runners - /actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners + - /actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners versions: fpt: '*' ghes: '*' diff --git a/content/actions/using-github-hosted-runners/using-github-hosted-runners/customizing-github-hosted-runners.md b/content/actions/how-tos/using-github-hosted-runners/using-github-hosted-runners/customizing-github-hosted-runners.md similarity index 96% rename from content/actions/using-github-hosted-runners/using-github-hosted-runners/customizing-github-hosted-runners.md rename to content/actions/how-tos/using-github-hosted-runners/using-github-hosted-runners/customizing-github-hosted-runners.md index 4e2177392b02..3741df6b3b57 100644 --- a/content/actions/using-github-hosted-runners/using-github-hosted-runners/customizing-github-hosted-runners.md +++ b/content/actions/how-tos/using-github-hosted-runners/using-github-hosted-runners/customizing-github-hosted-runners.md @@ -11,6 +11,7 @@ shortTitle: Customize runners redirect_from: - /actions/using-github-hosted-runners/customizing-github-hosted-runners - /actions/using-github-hosted-runners/about-github-hosted-runners/customizing-github-hosted-runners + - /actions/using-github-hosted-runners/using-github-hosted-runners/customizing-github-hosted-runners --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/using-github-hosted-runners/using-github-hosted-runners/index.md b/content/actions/how-tos/using-github-hosted-runners/using-github-hosted-runners/index.md similarity index 90% rename from content/actions/using-github-hosted-runners/using-github-hosted-runners/index.md rename to content/actions/how-tos/using-github-hosted-runners/using-github-hosted-runners/index.md index a942973b450d..d5a13e0ab2af 100644 --- a/content/actions/using-github-hosted-runners/using-github-hosted-runners/index.md +++ b/content/actions/how-tos/using-github-hosted-runners/using-github-hosted-runners/index.md @@ -12,6 +12,7 @@ children: - /customizing-github-hosted-runners redirect_from: - /actions/using-github-hosted-runners/about-github-hosted-runners + - /actions/using-github-hosted-runners/using-github-hosted-runners --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/using-github-hosted-runners/using-github-hosted-runners/monitoring-your-current-jobs.md b/content/actions/how-tos/using-github-hosted-runners/using-github-hosted-runners/monitoring-your-current-jobs.md similarity index 95% rename from content/actions/using-github-hosted-runners/using-github-hosted-runners/monitoring-your-current-jobs.md rename to content/actions/how-tos/using-github-hosted-runners/using-github-hosted-runners/monitoring-your-current-jobs.md index c2faf9d7b023..7674e90c015e 100644 --- a/content/actions/using-github-hosted-runners/using-github-hosted-runners/monitoring-your-current-jobs.md +++ b/content/actions/how-tos/using-github-hosted-runners/using-github-hosted-runners/monitoring-your-current-jobs.md @@ -7,6 +7,7 @@ versions: redirect_from: - /actions/using-github-hosted-runners/monitoring-your-current-jobs - /actions/using-github-hosted-runners/about-github-hosted-runners/monitoring-your-current-jobs + - /actions/using-github-hosted-runners/using-github-hosted-runners/monitoring-your-current-jobs --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/using-github-hosted-runners/using-larger-runners/controlling-access-to-larger-runners.md b/content/actions/how-tos/using-github-hosted-runners/using-larger-runners/controlling-access-to-larger-runners.md similarity index 98% rename from content/actions/using-github-hosted-runners/using-larger-runners/controlling-access-to-larger-runners.md rename to content/actions/how-tos/using-github-hosted-runners/using-larger-runners/controlling-access-to-larger-runners.md index 8b79cbde320d..efdd730ad2e3 100644 --- a/content/actions/using-github-hosted-runners/using-larger-runners/controlling-access-to-larger-runners.md +++ b/content/actions/how-tos/using-github-hosted-runners/using-larger-runners/controlling-access-to-larger-runners.md @@ -9,6 +9,7 @@ type: tutorial redirect_from: - /actions/using-github-hosted-runners/controlling-access-to-larger-runners - /actions/using-github-hosted-runners/about-larger-runners/controlling-access-to-larger-runners + - /actions/using-github-hosted-runners/using-larger-runners/controlling-access-to-larger-runners --- > [!NOTE] diff --git a/content/actions/using-github-hosted-runners/using-larger-runners/index.md b/content/actions/how-tos/using-github-hosted-runners/using-larger-runners/index.md similarity index 88% rename from content/actions/using-github-hosted-runners/using-larger-runners/index.md rename to content/actions/how-tos/using-github-hosted-runners/using-larger-runners/index.md index fb49b5512289..9aac9bed8f69 100644 --- a/content/actions/using-github-hosted-runners/using-larger-runners/index.md +++ b/content/actions/how-tos/using-github-hosted-runners/using-larger-runners/index.md @@ -10,6 +10,7 @@ children: - /running-jobs-on-larger-runners redirect_from: - /actions/using-github-hosted-runners/about-larger-runners + - /actions/using-github-hosted-runners/using-larger-runners --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/using-github-hosted-runners/using-larger-runners/managing-larger-runners.md b/content/actions/how-tos/using-github-hosted-runners/using-larger-runners/managing-larger-runners.md similarity index 99% rename from content/actions/using-github-hosted-runners/using-larger-runners/managing-larger-runners.md rename to content/actions/how-tos/using-github-hosted-runners/using-larger-runners/managing-larger-runners.md index d844914d9bfb..d66fff3ad9f1 100644 --- a/content/actions/using-github-hosted-runners/using-larger-runners/managing-larger-runners.md +++ b/content/actions/how-tos/using-github-hosted-runners/using-larger-runners/managing-larger-runners.md @@ -8,6 +8,7 @@ versions: redirect_from: - /actions/using-github-hosted-runners/managing-larger-runners - /actions/using-github-hosted-runners/about-larger-runners/managing-larger-runners + - /actions/using-github-hosted-runners/using-larger-runners/managing-larger-runners --- > [!NOTE] diff --git a/content/actions/using-github-hosted-runners/using-larger-runners/running-jobs-on-larger-runners.md b/content/actions/how-tos/using-github-hosted-runners/using-larger-runners/running-jobs-on-larger-runners.md similarity index 98% rename from content/actions/using-github-hosted-runners/using-larger-runners/running-jobs-on-larger-runners.md rename to content/actions/how-tos/using-github-hosted-runners/using-larger-runners/running-jobs-on-larger-runners.md index 216443d2b709..f50aaeb85bce 100644 --- a/content/actions/using-github-hosted-runners/using-larger-runners/running-jobs-on-larger-runners.md +++ b/content/actions/how-tos/using-github-hosted-runners/using-larger-runners/running-jobs-on-larger-runners.md @@ -9,6 +9,7 @@ versions: redirect_from: - /actions/using-github-hosted-runners/running-jobs-on-larger-runners - /actions/using-github-hosted-runners/about-larger-runners/running-jobs-on-larger-runners + - /actions/using-github-hosted-runners/using-larger-runners/running-jobs-on-larger-runners --- ## Running jobs on your runner diff --git a/content/actions/writing-workflows/choosing-what-your-workflow-does/adding-scripts-to-your-workflow.md b/content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/adding-scripts-to-your-workflow.md similarity index 95% rename from content/actions/writing-workflows/choosing-what-your-workflow-does/adding-scripts-to-your-workflow.md rename to content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/adding-scripts-to-your-workflow.md index abf8b8316887..d5199e2f8c7a 100644 --- a/content/actions/writing-workflows/choosing-what-your-workflow-does/adding-scripts-to-your-workflow.md +++ b/content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/adding-scripts-to-your-workflow.md @@ -6,6 +6,8 @@ versions: fpt: '*' ghes: '*' ghec: '*' +redirect_from: + - /actions/writing-workflows/choosing-what-your-workflow-does/adding-scripts-to-your-workflow --- You can use a {% data variables.product.prodname_actions %} workflow to run scripts and shell commands, which are then executed on the assigned runner. This example demonstrates how to use the `run` keyword to execute the command `npm install -g bats` on the runner. diff --git a/content/actions/writing-workflows/choosing-what-your-workflow-does/caching-dependencies-to-speed-up-workflows.md b/content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/caching-dependencies-to-speed-up-workflows.md similarity index 99% rename from content/actions/writing-workflows/choosing-what-your-workflow-does/caching-dependencies-to-speed-up-workflows.md rename to content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/caching-dependencies-to-speed-up-workflows.md index f8a1e7d5e3ef..fa4b6679b5c1 100644 --- a/content/actions/writing-workflows/choosing-what-your-workflow-does/caching-dependencies-to-speed-up-workflows.md +++ b/content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/caching-dependencies-to-speed-up-workflows.md @@ -9,6 +9,7 @@ redirect_from: - /actions/guides/caching-dependencies-to-speed-up-workflows - /actions/advanced-guides/caching-dependencies-to-speed-up-workflows - /actions/using-workflows/caching-dependencies-to-speed-up-workflows + - /actions/writing-workflows/choosing-what-your-workflow-does/caching-dependencies-to-speed-up-workflows versions: fpt: '*' ghec: '*' diff --git a/content/actions/writing-workflows/choosing-what-your-workflow-does/control-the-concurrency-of-workflows-and-jobs.md b/content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/control-the-concurrency-of-workflows-and-jobs.md similarity index 93% rename from content/actions/writing-workflows/choosing-what-your-workflow-does/control-the-concurrency-of-workflows-and-jobs.md rename to content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/control-the-concurrency-of-workflows-and-jobs.md index c47af8ffabeb..82e87b16f50e 100644 --- a/content/actions/writing-workflows/choosing-what-your-workflow-does/control-the-concurrency-of-workflows-and-jobs.md +++ b/content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/control-the-concurrency-of-workflows-and-jobs.md @@ -10,6 +10,7 @@ redirect_from: - /actions/using-jobs/using-concurrency - /actions/writing-workflows/choosing-what-your-workflow-does/using-concurrency - /early-access/actions/running-additional-jobs-in-github-actions + - /actions/writing-workflows/choosing-what-your-workflow-does/control-the-concurrency-of-workflows-and-jobs --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github_token.md b/content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github_token.md similarity index 93% rename from content/actions/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github_token.md rename to content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github_token.md index 1f327c6b3113..455fb07c0f3b 100644 --- a/content/actions/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github_token.md +++ b/content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github_token.md @@ -10,6 +10,7 @@ redirect_from: - /actions/using-jobs/assigning-permissions-to-jobs - /actions/writing-workflows/choosing-what-your-workflow-does/assigning-permissions-to-jobs - /actions/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github-token + - /actions/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github_token --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/writing-workflows/choosing-what-your-workflow-does/index.md b/content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/index.md similarity index 93% rename from content/actions/writing-workflows/choosing-what-your-workflow-does/index.md rename to content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/index.md index 64a172806d1f..2ed3efc716ec 100644 --- a/content/actions/writing-workflows/choosing-what-your-workflow-does/index.md +++ b/content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/index.md @@ -4,6 +4,7 @@ shortTitle: Choose what workflows do intro: 'Workflows automate tasks in your software development lifecycle. Many tasks that you manually complete can be converted to a {% data variables.product.prodname_actions %} workflow.' redirect_from: - /actions/using-jobs + - /actions/writing-workflows/choosing-what-your-workflow-does versions: fpt: '*' ghes: '*' diff --git a/content/actions/writing-workflows/choosing-what-your-workflow-does/passing-information-between-jobs.md b/content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/passing-information-between-jobs.md similarity index 83% rename from content/actions/writing-workflows/choosing-what-your-workflow-does/passing-information-between-jobs.md rename to content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/passing-information-between-jobs.md index eb77388f6a78..ad15061bcf13 100644 --- a/content/actions/writing-workflows/choosing-what-your-workflow-does/passing-information-between-jobs.md +++ b/content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/passing-information-between-jobs.md @@ -9,6 +9,7 @@ versions: redirect_from: - /actions/using-jobs/defining-outputs-for-jobs - /actions/writing-workflows/choosing-what-your-workflow-does/defining-outputs-for-jobs + - /actions/writing-workflows/choosing-what-your-workflow-does/passing-information-between-jobs --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/writing-workflows/choosing-what-your-workflow-does/running-variations-of-jobs-in-a-workflow.md b/content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/running-variations-of-jobs-in-a-workflow.md similarity index 94% rename from content/actions/writing-workflows/choosing-what-your-workflow-does/running-variations-of-jobs-in-a-workflow.md rename to content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/running-variations-of-jobs-in-a-workflow.md index 1a2ea51893d9..ad9bb9089c5a 100644 --- a/content/actions/writing-workflows/choosing-what-your-workflow-does/running-variations-of-jobs-in-a-workflow.md +++ b/content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/running-variations-of-jobs-in-a-workflow.md @@ -11,6 +11,7 @@ redirect_from: - /actions/using-jobs/using-a-matrix-for-your-jobs - /actions/examples/using-concurrency-expressions-and-a-test-matrix - /actions/writing-workflows/choosing-what-your-workflow-does/using-a-matrix-for-your-jobs + - /actions/writing-workflows/choosing-what-your-workflow-does/running-variations-of-jobs-in-a-workflow --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/writing-workflows/choosing-what-your-workflow-does/setting-a-default-shell-and-working-directory.md b/content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/setting-a-default-shell-and-working-directory.md similarity index 90% rename from content/actions/writing-workflows/choosing-what-your-workflow-does/setting-a-default-shell-and-working-directory.md rename to content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/setting-a-default-shell-and-working-directory.md index 88e76390e230..650e96c67b15 100644 --- a/content/actions/writing-workflows/choosing-what-your-workflow-does/setting-a-default-shell-and-working-directory.md +++ b/content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/setting-a-default-shell-and-working-directory.md @@ -9,6 +9,7 @@ versions: redirect_from: - /actions/using-jobs/setting-default-values-for-jobs - /actions/writing-workflows/choosing-what-your-workflow-does/setting-default-values-for-jobs + - /actions/writing-workflows/choosing-what-your-workflow-does/setting-a-default-shell-and-working-directory --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables.md b/content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables.md similarity index 99% rename from content/actions/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables.md rename to content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables.md index 6706b451a834..e43cff7da9f2 100644 --- a/content/actions/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables.md +++ b/content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables.md @@ -10,6 +10,7 @@ redirect_from: - /actions/learn-github-actions/environment-variables - /actions/learn-github-actions/variables - /actions/writing-workflows/choosing-what-your-workflow-does/variables + - /actions/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables versions: fpt: '*' ghes: '*' diff --git a/content/actions/writing-workflows/choosing-what-your-workflow-does/storing-and-sharing-data-from-a-workflow.md b/content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/storing-and-sharing-data-from-a-workflow.md similarity index 99% rename from content/actions/writing-workflows/choosing-what-your-workflow-does/storing-and-sharing-data-from-a-workflow.md rename to content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/storing-and-sharing-data-from-a-workflow.md index 31a570ff3f2f..be2f2d48855f 100644 --- a/content/actions/writing-workflows/choosing-what-your-workflow-does/storing-and-sharing-data-from-a-workflow.md +++ b/content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/storing-and-sharing-data-from-a-workflow.md @@ -11,6 +11,7 @@ redirect_from: - /actions/advanced-guides/storing-workflow-data-as-artifacts - /actions/using-workflows/storing-workflow-data-as-artifacts - /actions/writing-workflows/choosing-what-your-workflow-does/storing-workflow-data-as-artifacts + - /actions/writing-workflows/choosing-what-your-workflow-does/storing-and-sharing-data-from-a-workflow versions: fpt: '*' ghes: '*' diff --git a/content/actions/writing-workflows/choosing-what-your-workflow-does/using-environments-for-deployment.md b/content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/using-environments-for-deployment.md similarity index 91% rename from content/actions/writing-workflows/choosing-what-your-workflow-does/using-environments-for-deployment.md rename to content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/using-environments-for-deployment.md index fe660134250d..f8151e40784a 100644 --- a/content/actions/writing-workflows/choosing-what-your-workflow-does/using-environments-for-deployment.md +++ b/content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/using-environments-for-deployment.md @@ -9,6 +9,7 @@ versions: redirect_from: - /actions/using-jobs/using-environments-for-jobs - /actions/using-jobs/using-environments-for-deployment + - /actions/writing-workflows/choosing-what-your-workflow-does/using-environments-for-deployment --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/writing-workflows/choosing-what-your-workflow-does/using-github-cli-in-workflows.md b/content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/using-github-cli-in-workflows.md similarity index 96% rename from content/actions/writing-workflows/choosing-what-your-workflow-does/using-github-cli-in-workflows.md rename to content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/using-github-cli-in-workflows.md index 8210d92663cd..9c4b16ee1387 100644 --- a/content/actions/writing-workflows/choosing-what-your-workflow-does/using-github-cli-in-workflows.md +++ b/content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/using-github-cli-in-workflows.md @@ -7,6 +7,7 @@ redirect_from: - /actions/advanced-guides/using-github-cli-in-workflows - /actions/using-workflows/using-github-cli-in-workflows - /actions/examples/using-the-github-cli-on-a-runner + - /actions/writing-workflows/choosing-what-your-workflow-does/using-github-cli-in-workflows versions: fpt: '*' ghes: '*' diff --git a/content/actions/writing-workflows/choosing-what-your-workflow-does/using-jobs-in-a-workflow.md b/content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/using-jobs-in-a-workflow.md similarity index 88% rename from content/actions/writing-workflows/choosing-what-your-workflow-does/using-jobs-in-a-workflow.md rename to content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/using-jobs-in-a-workflow.md index 993a032faf76..d9320936ae52 100644 --- a/content/actions/writing-workflows/choosing-what-your-workflow-does/using-jobs-in-a-workflow.md +++ b/content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/using-jobs-in-a-workflow.md @@ -8,6 +8,7 @@ versions: ghec: '*' redirect_from: - /actions/using-jobs/using-jobs-in-a-workflow + - /actions/writing-workflows/choosing-what-your-workflow-does/using-jobs-in-a-workflow --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/writing-workflows/choosing-what-your-workflow-does/using-pre-written-building-blocks-in-your-workflow.md b/content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/using-pre-written-building-blocks-in-your-workflow.md similarity index 99% rename from content/actions/writing-workflows/choosing-what-your-workflow-does/using-pre-written-building-blocks-in-your-workflow.md rename to content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/using-pre-written-building-blocks-in-your-workflow.md index 69b49a0ad9a8..2f35b9bf51d6 100644 --- a/content/actions/writing-workflows/choosing-what-your-workflow-does/using-pre-written-building-blocks-in-your-workflow.md +++ b/content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/using-pre-written-building-blocks-in-your-workflow.md @@ -9,6 +9,7 @@ redirect_from: - /actions/getting-started-with-github-actions/using-community-workflows-and-actions - /actions/learn-github-actions/finding-and-customizing-actions - /actions/writing-workflows/choosing-what-your-workflow-does/finding-and-customizing-actions + - /actions/writing-workflows/choosing-what-your-workflow-does/using-pre-written-building-blocks-in-your-workflow versions: fpt: '*' ghes: '*' diff --git a/content/actions/writing-workflows/choosing-when-your-workflow-runs/index.md b/content/actions/how-tos/writing-workflows/choosing-when-your-workflow-runs/index.md similarity index 79% rename from content/actions/writing-workflows/choosing-when-your-workflow-runs/index.md rename to content/actions/how-tos/writing-workflows/choosing-when-your-workflow-runs/index.md index fc985319c905..9bd65d058e46 100644 --- a/content/actions/writing-workflows/choosing-when-your-workflow-runs/index.md +++ b/content/actions/how-tos/writing-workflows/choosing-when-your-workflow-runs/index.md @@ -9,5 +9,7 @@ versions: children: - /triggering-a-workflow - /using-conditions-to-control-job-execution +redirect_from: + - /actions/writing-workflows/choosing-when-your-workflow-runs --- diff --git a/content/actions/writing-workflows/choosing-when-your-workflow-runs/triggering-a-workflow.md b/content/actions/how-tos/writing-workflows/choosing-when-your-workflow-runs/triggering-a-workflow.md similarity index 99% rename from content/actions/writing-workflows/choosing-when-your-workflow-runs/triggering-a-workflow.md rename to content/actions/how-tos/writing-workflows/choosing-when-your-workflow-runs/triggering-a-workflow.md index 9954f08eace8..74bb9881d499 100644 --- a/content/actions/writing-workflows/choosing-when-your-workflow-runs/triggering-a-workflow.md +++ b/content/actions/how-tos/writing-workflows/choosing-when-your-workflow-runs/triggering-a-workflow.md @@ -13,6 +13,7 @@ topics: - CD redirect_from: - /actions/using-workflows/triggering-a-workflow + - /actions/writing-workflows/choosing-when-your-workflow-runs/triggering-a-workflow --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/writing-workflows/choosing-when-your-workflow-runs/using-conditions-to-control-job-execution.md b/content/actions/how-tos/writing-workflows/choosing-when-your-workflow-runs/using-conditions-to-control-job-execution.md similarity index 89% rename from content/actions/writing-workflows/choosing-when-your-workflow-runs/using-conditions-to-control-job-execution.md rename to content/actions/how-tos/writing-workflows/choosing-when-your-workflow-runs/using-conditions-to-control-job-execution.md index e18a51795494..5dc57bd0502a 100644 --- a/content/actions/writing-workflows/choosing-when-your-workflow-runs/using-conditions-to-control-job-execution.md +++ b/content/actions/how-tos/writing-workflows/choosing-when-your-workflow-runs/using-conditions-to-control-job-execution.md @@ -8,6 +8,7 @@ versions: ghec: '*' redirect_from: - /actions/using-jobs/using-conditions-to-control-job-execution + - /actions/writing-workflows/choosing-when-your-workflow-runs/using-conditions-to-control-job-execution --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/writing-workflows/choosing-where-your-workflow-runs/choosing-the-runner-for-a-job.md b/content/actions/how-tos/writing-workflows/choosing-where-your-workflow-runs/choosing-the-runner-for-a-job.md similarity index 88% rename from content/actions/writing-workflows/choosing-where-your-workflow-runs/choosing-the-runner-for-a-job.md rename to content/actions/how-tos/writing-workflows/choosing-where-your-workflow-runs/choosing-the-runner-for-a-job.md index ff21f8983b07..96b10c40eab9 100644 --- a/content/actions/writing-workflows/choosing-where-your-workflow-runs/choosing-the-runner-for-a-job.md +++ b/content/actions/how-tos/writing-workflows/choosing-where-your-workflow-runs/choosing-the-runner-for-a-job.md @@ -8,6 +8,7 @@ versions: ghec: '*' redirect_from: - /actions/using-jobs/choosing-the-runner-for-a-job + - /actions/writing-workflows/choosing-where-your-workflow-runs/choosing-the-runner-for-a-job --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/writing-workflows/choosing-where-your-workflow-runs/index.md b/content/actions/how-tos/writing-workflows/choosing-where-your-workflow-runs/index.md similarity index 78% rename from content/actions/writing-workflows/choosing-where-your-workflow-runs/index.md rename to content/actions/how-tos/writing-workflows/choosing-where-your-workflow-runs/index.md index 1a3a3dd85702..7631f40bc7ea 100644 --- a/content/actions/writing-workflows/choosing-where-your-workflow-runs/index.md +++ b/content/actions/how-tos/writing-workflows/choosing-where-your-workflow-runs/index.md @@ -9,5 +9,7 @@ versions: children: - /choosing-the-runner-for-a-job - /running-jobs-in-a-container +redirect_from: + - /actions/writing-workflows/choosing-where-your-workflow-runs --- diff --git a/content/actions/writing-workflows/choosing-where-your-workflow-runs/running-jobs-in-a-container.md b/content/actions/how-tos/writing-workflows/choosing-where-your-workflow-runs/running-jobs-in-a-container.md similarity index 92% rename from content/actions/writing-workflows/choosing-where-your-workflow-runs/running-jobs-in-a-container.md rename to content/actions/how-tos/writing-workflows/choosing-where-your-workflow-runs/running-jobs-in-a-container.md index ee375f636f76..a44e895cd00c 100644 --- a/content/actions/writing-workflows/choosing-where-your-workflow-runs/running-jobs-in-a-container.md +++ b/content/actions/how-tos/writing-workflows/choosing-where-your-workflow-runs/running-jobs-in-a-container.md @@ -8,6 +8,7 @@ versions: ghec: '*' redirect_from: - /actions/using-jobs/running-jobs-in-a-container + - /actions/writing-workflows/choosing-where-your-workflow-runs/running-jobs-in-a-container --- {% data reusables.actions.enterprise-github-hosted-runners %} diff --git a/content/actions/writing-workflows/index.md b/content/actions/how-tos/writing-workflows/index.md similarity index 93% rename from content/actions/writing-workflows/index.md rename to content/actions/how-tos/writing-workflows/index.md index cd55321d7e86..a17caee31301 100644 --- a/content/actions/writing-workflows/index.md +++ b/content/actions/how-tos/writing-workflows/index.md @@ -5,12 +5,12 @@ intro: '{% data variables.product.prodname_actions %} workflows can automate tas redirect_from: - /actions/learn-github-actions - /actions/using-workflows + - /actions/writing-workflows versions: fpt: '*' ghes: '*' ghec: '*' children: - - /quickstart - /using-workflow-templates - /choosing-when-your-workflow-runs - /choosing-where-your-workflow-runs diff --git a/content/actions/writing-workflows/using-workflow-templates.md b/content/actions/how-tos/writing-workflows/using-workflow-templates.md similarity index 98% rename from content/actions/writing-workflows/using-workflow-templates.md rename to content/actions/how-tos/writing-workflows/using-workflow-templates.md index c3f5f8656a2f..c1ab7b6ef58b 100644 --- a/content/actions/writing-workflows/using-workflow-templates.md +++ b/content/actions/how-tos/writing-workflows/using-workflow-templates.md @@ -12,6 +12,7 @@ redirect_from: - /actions/using-workflows/using-starter-workflows - /actions/learn-github-actions/using-starter-workflows - /actions/writing-workflows/using-starter-workflows + - /actions/writing-workflows/using-workflow-templates versions: fpt: '*' ghes: '*' diff --git a/content/actions/index.md b/content/actions/index.md index 8e1888ce8646..4d5015b95801 100644 --- a/content/actions/index.md +++ b/content/actions/index.md @@ -3,24 +3,24 @@ title: '{% data variables.product.prodname_actions %} documentation' shortTitle: '{% data variables.product.prodname_actions %}' intro: 'Automate, customize, and execute your software development workflows right in your repository with {% data variables.product.prodname_actions %}. You can discover, create, and share actions to perform any job you''d like, including CI/CD, and combine actions in a completely customized workflow.' introLinks: - overview: /actions/about-github-actions/understanding-github-actions - quickstart: /actions/writing-workflows/quickstart + overview: /actions/get-started/understanding-github-actions + quickstart: /actions/get-started/quickstart featuredLinks: startHere: - - /actions/writing-workflows - - /actions/use-cases-and-examples + - /actions/how-tos/writing-workflows + - /actions/how-tos/use-cases-and-examples - /actions/concepts/overview/about-continuous-integration-with-github-actions - /actions/concepts/use-cases/deploying-with-github-actions - /actions/concepts/use-cases/about-packaging-with-github-actions - - /actions/monitoring-and-troubleshooting-workflows + - /actions/how-tos/monitoring-and-troubleshooting-workflows guideCards: - - /actions/writing-workflows/using-workflow-templates - - /actions/use-cases-and-examples/publishing-packages/publishing-nodejs-packages - - /actions/use-cases-and-examples/building-and-testing/building-and-testing-powershell + - /actions/how-tos/writing-workflows/using-workflow-templates + - /actions/how-tos/use-cases-and-examples/publishing-packages/publishing-nodejs-packages + - /actions/how-tos/use-cases-and-examples/building-and-testing/building-and-testing-powershell popular: - /actions/reference/workflow-syntax-for-github-actions - - /actions/writing-workflows - - /actions/use-cases-and-examples + - /actions/how-tos/writing-workflows + - /actions/how-tos/use-cases-and-examples changelog: label: actions redirect_from: @@ -36,20 +36,10 @@ versions: ghes: '*' ghec: '*' children: - - /about-github-actions + - /get-started - /concepts - - /writing-workflows - - /managing-workflow-runs-and-deployments - - /sharing-automations - - /monitoring-and-troubleshooting-workflows - - /using-github-hosted-runners - - /hosting-your-own-runners - - /security-for-github-actions - - /use-cases-and-examples - - /migrating-to-github-actions - - /administering-github-actions + - /how-tos - /reference - /tutorials - - /guides --- diff --git a/content/actions/tutorials/index.md b/content/actions/tutorials/index.md index ec40f7688fec..1eb59347b65f 100644 --- a/content/actions/tutorials/index.md +++ b/content/actions/tutorials/index.md @@ -12,4 +12,6 @@ children: - /creating-a-javascript-action - /creating-a-composite-action - /quickstart-for-actions-runner-controller +redirect_from: + - /actions/guides --- diff --git a/content/copilot/about-github-copilot/index.md b/content/copilot/about-github-copilot/index.md deleted file mode 100644 index 647813d2f752..000000000000 --- a/content/copilot/about-github-copilot/index.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: About GitHub Copilot -shortTitle: About GitHub Copilot -intro: 'Learn about GitHub Copilot.' -versions: - feature: copilot -topics: - - Copilot -children: - - /what-is-github-copilot - - /github-copilot-features - - /plans-for-github-copilot ---- diff --git a/content/copilot/using-github-copilot/best-practices-for-using-github-copilot.md b/content/copilot/get-started/best-practices-for-using-github-copilot.md similarity index 99% rename from content/copilot/using-github-copilot/best-practices-for-using-github-copilot.md rename to content/copilot/get-started/best-practices-for-using-github-copilot.md index b70581dd64ed..1a31ead8a4b0 100644 --- a/content/copilot/using-github-copilot/best-practices-for-using-github-copilot.md +++ b/content/copilot/get-started/best-practices-for-using-github-copilot.md @@ -6,6 +6,8 @@ topics: versions: feature: copilot shortTitle: Best practices +redirect_from: + - /copilot/using-github-copilot/best-practices-for-using-github-copilot --- ## Understand {% data variables.product.prodname_copilot_short %}'s strengths and weaknesses diff --git a/content/copilot/using-github-copilot/copilot-chat/getting-started-with-prompts-for-copilot-chat.md b/content/copilot/get-started/getting-started-with-prompts-for-copilot-chat.md similarity index 99% rename from content/copilot/using-github-copilot/copilot-chat/getting-started-with-prompts-for-copilot-chat.md rename to content/copilot/get-started/getting-started-with-prompts-for-copilot-chat.md index 16fa3272d59f..7e30016117d4 100644 --- a/content/copilot/using-github-copilot/copilot-chat/getting-started-with-prompts-for-copilot-chat.md +++ b/content/copilot/get-started/getting-started-with-prompts-for-copilot-chat.md @@ -9,6 +9,7 @@ versions: redirect_from: - /copilot/using-github-copilot/example-use-cases/example-prompts-for-copilot-chat - /copilot/using-github-copilot/guides-on-using-github-copilot/getting-started-with-prompts-for-copilot-chat + - /copilot/using-github-copilot/copilot-chat/getting-started-with-prompts-for-copilot-chat shortTitle: Get started with chat --- diff --git a/content/copilot/about-github-copilot/github-copilot-features.md b/content/copilot/get-started/github-copilot-features.md similarity index 99% rename from content/copilot/about-github-copilot/github-copilot-features.md rename to content/copilot/get-started/github-copilot-features.md index 3c0648912407..f59375f2d0e5 100644 --- a/content/copilot/about-github-copilot/github-copilot-features.md +++ b/content/copilot/get-started/github-copilot-features.md @@ -10,6 +10,7 @@ redirect_from: - /copilot/copilot-business/github-copilot-business-feature-set - /copilot/copilot-individual/github-copilot-individual-feature-set - /copilot/github-copilot-enterprise/github-copilot-enterprise-feature-set + - /copilot/about-github-copilot/github-copilot-features --- ## {% data variables.product.prodname_copilot %} features diff --git a/content/copilot/get-started/index.md b/content/copilot/get-started/index.md new file mode 100644 index 000000000000..ca6739bb21b9 --- /dev/null +++ b/content/copilot/get-started/index.md @@ -0,0 +1,20 @@ +--- +title: 'Get started with {% data variables.product.prodname_copilot %}' +shortTitle: Get started +intro: 'Learn how to sign up for and use {% data variables.product.prodname_copilot %}.' +versions: + feature: copilot +topics: + - Copilot +children: + - /quickstart + - /what-is-github-copilot + - /plans-for-github-copilot + - /github-copilot-features + - /setting-up-github-copilot + - /best-practices-for-using-github-copilot + - /getting-started-with-prompts-for-copilot-chat +redirect_from: + - /copilot/about-github-copilot +--- + diff --git a/content/copilot/about-github-copilot/plans-for-github-copilot.md b/content/copilot/get-started/plans-for-github-copilot.md similarity index 98% rename from content/copilot/about-github-copilot/plans-for-github-copilot.md rename to content/copilot/get-started/plans-for-github-copilot.md index 065ce647f38e..2a514d145392 100644 --- a/content/copilot/about-github-copilot/plans-for-github-copilot.md +++ b/content/copilot/get-started/plans-for-github-copilot.md @@ -8,6 +8,7 @@ topics: shortTitle: Plans for Copilot redirect_from: - /copilot/about-github-copilot/subscription-plans-for-github-copilot + - /copilot/about-github-copilot/plans-for-github-copilot --- {% data variables.product.company_short %} offers several plans for {% data variables.product.prodname_copilot %}, depending on your needs and whether you're using {% data variables.product.prodname_copilot_short %} as an individual or as part of an organization or enterprise. diff --git a/content/copilot/quickstart.md b/content/copilot/get-started/quickstart.md similarity index 99% rename from content/copilot/quickstart.md rename to content/copilot/get-started/quickstart.md index 8ad8ea26e339..6fafc8d6b5e7 100644 --- a/content/copilot/quickstart.md +++ b/content/copilot/get-started/quickstart.md @@ -15,6 +15,7 @@ redirect_from: - /copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim - /copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-visual-studio - /copilot/using-github-copilot/getting-started-with-github-copilot + - /copilot/quickstart shortTitle: Quickstart topics: - Copilot diff --git a/content/copilot/setting-up-github-copilot/index.md b/content/copilot/get-started/setting-up-github-copilot/index.md similarity index 67% rename from content/copilot/setting-up-github-copilot/index.md rename to content/copilot/get-started/setting-up-github-copilot/index.md index 27d88d13abc6..92eef41e93f4 100644 --- a/content/copilot/setting-up-github-copilot/index.md +++ b/content/copilot/get-started/setting-up-github-copilot/index.md @@ -1,13 +1,16 @@ --- title: Setting up GitHub Copilot shortTitle: Set up -intro: "Learn how to set up {% data variables.product.prodname_copilot %}." +intro: 'Learn how to set up {% data variables.product.prodname_copilot %}.' topics: - Copilot versions: feature: copilot children: - - /setting-up-github-copilot-for-your-enterprise - - /setting-up-github-copilot-for-your-organization - /setting-up-github-copilot-for-yourself + - /setting-up-github-copilot-for-your-organization + - /setting-up-github-copilot-for-your-enterprise +redirect_from: + - /copilot/setting-up-github-copilot --- + diff --git a/content/copilot/setting-up-github-copilot/setting-up-github-copilot-for-your-enterprise.md b/content/copilot/get-started/setting-up-github-copilot/setting-up-github-copilot-for-your-enterprise.md similarity index 92% rename from content/copilot/setting-up-github-copilot/setting-up-github-copilot-for-your-enterprise.md rename to content/copilot/get-started/setting-up-github-copilot/setting-up-github-copilot-for-your-enterprise.md index 3022d152f3ae..4c281bf4626d 100644 --- a/content/copilot/setting-up-github-copilot/setting-up-github-copilot-for-your-enterprise.md +++ b/content/copilot/get-started/setting-up-github-copilot/setting-up-github-copilot-for-your-enterprise.md @@ -1,17 +1,18 @@ --- -title: 'Setting up GitHub Copilot for your enterprise' +title: Setting up GitHub Copilot for your enterprise shortTitle: Set up for enterprise -intro: "Follow these steps to set up {% data variables.product.prodname_copilot %} in your enterprise." +intro: 'Follow these steps to set up {% data variables.product.prodname_copilot %} in your enterprise.' permissions: Enterprise owners product: 'Enterprises with a {% data variables.copilot.copilot_enterprise_short %} or {% data variables.copilot.copilot_business_short %} plan' versions: - feature: copilot-enterprise + feature: copilot topics: - Copilot redirect_from: - /copilot/github-copilot-enterprise/enabling-github-copilot-enterprise-features - /copilot/github-copilot-enterprise/overview/enabling-github-copilot-enterprise - /copilot/github-copilot-enterprise/overview/enabling-github-copilot-enterprise-features + - /copilot/setting-up-github-copilot/setting-up-github-copilot-for-your-enterprise --- ## 1. Enable {% data variables.product.prodname_copilot %} in your Enterprise through payment verification diff --git a/content/copilot/setting-up-github-copilot/setting-up-github-copilot-for-your-organization.md b/content/copilot/get-started/setting-up-github-copilot/setting-up-github-copilot-for-your-organization.md similarity index 95% rename from content/copilot/setting-up-github-copilot/setting-up-github-copilot-for-your-organization.md rename to content/copilot/get-started/setting-up-github-copilot/setting-up-github-copilot-for-your-organization.md index 555b30682d4d..e04d557cdf51 100644 --- a/content/copilot/setting-up-github-copilot/setting-up-github-copilot-for-your-organization.md +++ b/content/copilot/get-started/setting-up-github-copilot/setting-up-github-copilot-for-your-organization.md @@ -1,7 +1,7 @@ --- -title: 'Setting up GitHub Copilot for your organization' +title: Setting up GitHub Copilot for your organization shortTitle: Set up for organization -intro: "Follow these steps to set up {% data variables.product.prodname_copilot %} in your organization." +intro: 'Follow these steps to set up {% data variables.product.prodname_copilot %} in your organization.' permissions: Organization owners product: 'Organizations with a {% data variables.copilot.copilot_enterprise_short %} or {% data variables.copilot.copilot_business_short %} plan' versions: @@ -13,6 +13,7 @@ redirect_from: - /copilot/overview-of-github-copilot/enabling-and-setting-up-github-copilot-for-business - /copilot/managing-copilot-business/enabling-and-setting-up-github-copilot-for-business - /copilot/managing-copilot-business/enabling-and-setting-up-github-copilot-business + - /copilot/setting-up-github-copilot/setting-up-github-copilot-for-your-organization --- ## 1. Subscribe your organization to {% data variables.product.prodname_copilot %} diff --git a/content/copilot/setting-up-github-copilot/setting-up-github-copilot-for-yourself.md b/content/copilot/get-started/setting-up-github-copilot/setting-up-github-copilot-for-yourself.md similarity index 96% rename from content/copilot/setting-up-github-copilot/setting-up-github-copilot-for-yourself.md rename to content/copilot/get-started/setting-up-github-copilot/setting-up-github-copilot-for-yourself.md index 4ce9130814d7..9c984c7d0b01 100644 --- a/content/copilot/setting-up-github-copilot/setting-up-github-copilot-for-yourself.md +++ b/content/copilot/get-started/setting-up-github-copilot/setting-up-github-copilot-for-yourself.md @@ -1,12 +1,14 @@ --- -title: 'Setting up GitHub Copilot for yourself' +title: Setting up GitHub Copilot for yourself shortTitle: Set up for self -intro: "Follow these steps to start using Copilot." +intro: Follow these steps to start using Copilot. permissions: Individuals versions: feature: copilot topics: - Copilot +redirect_from: + - /copilot/setting-up-github-copilot/setting-up-github-copilot-for-yourself --- ## 1. Get access to {% data variables.product.prodname_copilot %} diff --git a/content/copilot/about-github-copilot/what-is-github-copilot.md b/content/copilot/get-started/what-is-github-copilot.md similarity index 99% rename from content/copilot/about-github-copilot/what-is-github-copilot.md rename to content/copilot/get-started/what-is-github-copilot.md index 9cb1c7ee0347..ea8f65306698 100644 --- a/content/copilot/about-github-copilot/what-is-github-copilot.md +++ b/content/copilot/get-started/what-is-github-copilot.md @@ -23,6 +23,7 @@ redirect_from: - /copilot/managing-copilot-for-business - /copilot/github-copilot-enterprise - /copilot/copilot-business + - /copilot/about-github-copilot/what-is-github-copilot --- {% data variables.product.prodname_copilot %} is an AI coding assistant that helps you write code faster and with less effort, allowing you to focus more energy on problem solving and collaboration. diff --git a/content/copilot/index.md b/content/copilot/index.md index 4dbdb50cc4ae..42578f95b3ad 100644 --- a/content/copilot/index.md +++ b/content/copilot/index.md @@ -8,16 +8,16 @@ redirect_from: changelog: label: copilot introLinks: - overview: /copilot/about-github-copilot/what-is-github-copilot - quickstart: /copilot/quickstart + overview: /copilot/get-started/what-is-github-copilot + quickstart: /copilot/get-started/quickstart featuredLinks: startHere: - - /copilot/about-github-copilot/what-is-github-copilot - - /copilot/quickstart + - /copilot/get-started/what-is-github-copilot + - /copilot/get-started/quickstart - /copilot/building-copilot-extensions/quickstart-for-github-copilot-extensions-using-agents - /copilot/using-github-copilot/coding-agent/about-assigning-tasks-to-copilot popular: - - /copilot/about-github-copilot/github-copilot-features + - /copilot/get-started/github-copilot-features - /copilot/copilot-chat-cookbook - /copilot/using-github-copilot/getting-code-suggestions-in-your-ide-with-github-copilot - /copilot/using-github-copilot/copilot-chat/asking-github-copilot-questions-in-your-ide @@ -26,9 +26,7 @@ layout: product-landing versions: feature: copilot children: - - /quickstart - - /about-github-copilot - - /setting-up-github-copilot + - /get-started - /using-github-copilot - /copilot-chat-cookbook - /managing-copilot @@ -40,3 +38,4 @@ children: topics: - Copilot --- + diff --git a/content/copilot/using-github-copilot/copilot-chat/index.md b/content/copilot/using-github-copilot/copilot-chat/index.md index 6f4d41d7d799..a26c8415bd79 100644 --- a/content/copilot/using-github-copilot/copilot-chat/index.md +++ b/content/copilot/using-github-copilot/copilot-chat/index.md @@ -1,6 +1,6 @@ --- title: Copilot Chat -intro: "Learn how to use {% data variables.copilot.copilot_chat_short %} across different environments." +intro: 'Learn how to use {% data variables.copilot.copilot_chat_short %} across different environments.' versions: feature: copilot topics: @@ -11,8 +11,8 @@ children: - /asking-github-copilot-questions-in-your-ide - /asking-github-copilot-questions-in-github - /asking-github-copilot-questions-in-github-mobile - - /getting-started-with-prompts-for-copilot-chat - /indexing-repositories-for-copilot-chat - /prompt-engineering-for-copilot-chat - /github-copilot-chat-cheat-sheet --- + diff --git a/content/copilot/using-github-copilot/index.md b/content/copilot/using-github-copilot/index.md index 0f7cd2f45c23..d2dcecc2e602 100644 --- a/content/copilot/using-github-copilot/index.md +++ b/content/copilot/using-github-copilot/index.md @@ -1,13 +1,12 @@ --- title: Using GitHub Copilot shortTitle: Use GitHub Copilot -intro: "Use {% data variables.product.prodname_copilot %} to increase your productivity." +intro: 'Use {% data variables.product.prodname_copilot %} to increase your productivity.' versions: feature: copilot topics: - Copilot children: - - /best-practices-for-using-github-copilot - /getting-code-suggestions-in-your-ide-with-github-copilot - /copilot-chat - /copilot-spaces @@ -26,3 +25,4 @@ redirect_from: - /copilot/github-copilot-chat - /copilot/github-copilot-in-the-cli --- + diff --git a/content/github-cli/index.md b/content/github-cli/index.md index d792d71d081d..dcb9c859a75a 100644 --- a/content/github-cli/index.md +++ b/content/github-cli/index.md @@ -16,7 +16,7 @@ featuredLinks: startHere: - /github-cli/github-cli/creating-github-cli-extensions - /github-cli/github-cli/using-github-cli-extensions - - /actions/writing-workflows/choosing-what-your-workflow-does/using-github-cli-in-workflows + - /actions/how-tos/writing-workflows/choosing-what-your-workflow-does/using-github-cli-in-workflows - /codespaces/developing-in-a-codespace/using-github-codespaces-with-github-cli popular: - /pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request diff --git a/content/migrations/index.md b/content/migrations/index.md index e68aa8eb5b1f..655ac249e85c 100644 --- a/content/migrations/index.md +++ b/content/migrations/index.md @@ -9,7 +9,7 @@ featuredLinks: startHere: - /migrations/importing-source-code/using-github-importer/about-github-importer - /migrations/using-github-enterprise-importer/understanding-github-enterprise-importer/about-github-enterprise-importer - - /actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/automating-migration-with-github-actions-importer#about-github-actions-importer + - /actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/automating-migration-with-github-actions-importer popular: - /migrations/importing-source-code/using-github-importer/importing-a-repository-with-github-importer - /migrations/importing-source-code/using-the-command-line-to-import-source-code/adding-locally-hosted-code-to-github diff --git a/data/learning-tracks/actions.yml b/data/learning-tracks/actions.yml deleted file mode 100644 index 2199e63bb823..000000000000 --- a/data/learning-tracks/actions.yml +++ /dev/null @@ -1,101 +0,0 @@ -getting_started: - title: Get started with {% data variables.product.prodname_actions %} - description: >- - Discover the possibilities of {% data variables.product.prodname_actions %} - by creating your first workflow. - guides: - - /actions/about-github-actions/understanding-github-actions - - >- - /actions/writing-workflows/choosing-what-your-workflow-does/using-pre-written-building-blocks-in-your-workflow - - /actions/concepts/workflows-and-actions/about-workflows - - /actions/sharing-automations/reusing-workflows - - >- - /actions/security-for-github-actions/security-guides/security-hardening-for-github-actions -adopting_github_actions_for_your_enterprise_ghec: - title: Adopt GitHub Actions for your enterprise - description: >- - Learn how to plan and implement a rollout of {% data - variables.product.prodname_actions %} in your enterprise. - versions: - ghec: '*' - guides: - - >- - /admin/managing-github-actions-for-your-enterprise/getting-started-with-github-actions-for-your-enterprise/about-github-actions-for-enterprises - - /actions/about-github-actions/understanding-github-actions - - >- - /admin/managing-github-actions-for-your-enterprise/getting-started-with-github-actions-for-your-enterprise/introducing-github-actions-to-your-enterprise - - >- - /admin/managing-github-actions-for-your-enterprise/getting-started-with-github-actions-for-your-enterprise/migrating-your-enterprise-to-github-actions - - >- - /admin/managing-github-actions-for-your-enterprise/getting-started-with-github-actions-for-your-enterprise/getting-started-with-github-actions-for-github-enterprise-cloud - - >- - /actions/security-for-github-actions/security-guides/security-hardening-for-github-actions - - >- - /billing/managing-billing-for-your-products/about-billing-for-github-actions -adopting_github_actions_for_your_enterprise_ghes: - title: Adopt GitHub Actions for your enterprise - description: >- - Learn how to plan and implement a rollout of {% data - variables.product.prodname_actions %} in your enterprise. - versions: - ghes: '*' - guides: - - >- - /admin/managing-github-actions-for-your-enterprise/getting-started-with-github-actions-for-your-enterprise/about-github-actions-for-enterprises - - /actions/about-github-actions/understanding-github-actions - - >- - /admin/managing-github-actions-for-your-enterprise/getting-started-with-github-actions-for-your-enterprise/introducing-github-actions-to-your-enterprise - - >- - /admin/managing-github-actions-for-your-enterprise/getting-started-with-github-actions-for-your-enterprise/migrating-your-enterprise-to-github-actions - - >- - /admin/managing-github-actions-for-your-enterprise/getting-started-with-github-actions-for-your-enterprise/getting-started-with-github-actions-for-github-enterprise-cloud - - >- - /admin/managing-github-actions-for-your-enterprise/getting-started-with-github-actions-for-your-enterprise/getting-started-with-github-actions-for-github-enterprise-server - - >- - /admin/managing-github-actions-for-your-enterprise/getting-started-with-github-actions-for-your-enterprise/getting-started-with-self-hosted-runners-for-your-enterprise - - >- - /actions/security-for-github-actions/security-guides/security-hardening-for-github-actions - - >- - /billing/managing-billing-for-your-products/about-billing-for-github-actions -hosting_your_own_runners: - title: Host your own runners - description: >- - You can create self-hosted runners to run workflows in a highly customizable - environment. - guides: - - >- - /actions/concepts/runners/about-self-hosted-runners - - >- - /actions/hosting-your-own-runners/managing-self-hosted-runners/adding-self-hosted-runners - - >- - /actions/hosting-your-own-runners/managing-self-hosted-runners/configuring-the-self-hosted-runner-application-as-a-service - - >- - /actions/hosting-your-own-runners/managing-self-hosted-runners/using-a-proxy-server-with-self-hosted-runners - - >- - /actions/hosting-your-own-runners/managing-self-hosted-runners/using-labels-with-self-hosted-runners - - >- - /actions/hosting-your-own-runners/managing-self-hosted-runners/using-self-hosted-runners-in-a-workflow - - >- - /actions/hosting-your-own-runners/managing-self-hosted-runners/managing-access-to-self-hosted-runners-using-groups - - >- - /actions/hosting-your-own-runners/managing-self-hosted-runners/monitoring-and-troubleshooting-self-hosted-runners -create_actions: - title: Create an action - description: >- - Do you have an idea for a new action? Have you built something custom for - your project? Learn how to build shareable actions and publish them to - GitHub Marketplace. - guides: - - /actions/concepts/workflows-and-actions/about-custom-actions - - >- - /actions/tutorials/creating-a-docker-container-action - - /actions/tutorials/creating-a-javascript-action - - /actions/tutorials/creating-a-composite-action - - >- - /actions/reference/metadata-syntax-for-github-actions - - >- - /actions/reference/dockerfile-support-for-github-actions - - >- - /actions/sharing-automations/creating-actions/setting-exit-codes-for-actions - - >- - /actions/sharing-automations/creating-actions/publishing-actions-in-github-marketplace diff --git a/data/learning-tracks/admin.yml b/data/learning-tracks/admin.yml index 8c393a19d61f..2f05eabf7188 100644 --- a/data/learning-tracks/admin.yml +++ b/data/learning-tracks/admin.yml @@ -44,7 +44,7 @@ adopting_github_actions_for_your_enterprise_ghec: guides: - >- /admin/managing-github-actions-for-your-enterprise/getting-started-with-github-actions-for-your-enterprise/about-github-actions-for-enterprises - - /actions/about-github-actions/understanding-github-actions + - /actions/get-started/understanding-github-actions - >- /admin/managing-github-actions-for-your-enterprise/getting-started-with-github-actions-for-your-enterprise/introducing-github-actions-to-your-enterprise - >- @@ -52,7 +52,7 @@ adopting_github_actions_for_your_enterprise_ghec: - >- /admin/managing-github-actions-for-your-enterprise/getting-started-with-github-actions-for-your-enterprise/getting-started-with-github-actions-for-github-enterprise-cloud - >- - /actions/security-for-github-actions/security-guides/security-hardening-for-github-actions + /actions/how-tos/security-for-github-actions/security-guides/security-hardening-for-github-actions - >- /billing/managing-billing-for-your-products/about-billing-for-github-actions adopting_github_actions_for_your_enterprise_ghes: @@ -65,7 +65,7 @@ adopting_github_actions_for_your_enterprise_ghes: guides: - >- /admin/managing-github-actions-for-your-enterprise/getting-started-with-github-actions-for-your-enterprise/about-github-actions-for-enterprises - - /actions/about-github-actions/understanding-github-actions + - /actions/get-started/understanding-github-actions - >- /admin/managing-github-actions-for-your-enterprise/getting-started-with-github-actions-for-your-enterprise/introducing-github-actions-to-your-enterprise - >- @@ -77,7 +77,7 @@ adopting_github_actions_for_your_enterprise_ghes: - >- /admin/managing-github-actions-for-your-enterprise/getting-started-with-github-actions-for-your-enterprise/getting-started-with-self-hosted-runners-for-your-enterprise - >- - /actions/security-for-github-actions/security-guides/security-hardening-for-github-actions + /actions/how-tos/security-for-github-actions/security-guides/security-hardening-for-github-actions - >- /billing/managing-billing-for-your-products/about-billing-for-github-actions increase_fault_tolerance: diff --git a/src/content-render/tests/__snapshots__/annotate.js.snap b/src/content-render/tests/__snapshots__/annotate.js.snap deleted file mode 100644 index 4b4594e468ce..000000000000 --- a/src/content-render/tests/__snapshots__/annotate.js.snap +++ /dev/null @@ -1,24 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`annotate > renders annotations 1`] = ` -"
YAML
name: Post welcome comment

The name of the workflow as it will appear in the "Actions" tab of the GitHub repository.

on:
-  pull_request:
-    types: [opened]

Add the pull_request event, so that the workflow runs automatically -every time a pull request is created.

# The name of the workflow as it will appear in the "Actions" tab of the GitHub repository.
-name: Post welcome comment
-
-# Add the \`pull_request\` event, so that the workflow runs automatically
-# every time a pull request is created.
-on:
-  pull_request:
-    types: [opened]
-
" -`; diff --git a/src/content-render/tests/annotate.js b/src/content-render/tests/annotate.js index 303584217262..67c5e1a709b9 100644 --- a/src/content-render/tests/annotate.js +++ b/src/content-render/tests/annotate.js @@ -18,12 +18,50 @@ on: describe('annotate', () => { test('renders annotations', async () => { - // We don't normally use snapshots, - // but in this case its a short and concise example - // that won't change regularly. - // If it fails, study the output and make sure it's correct. - // If it is indeed correct, run `vitest --updateSnapshot` to update it. - expect(await renderContent(example)).toMatchSnapshot() + const res = await renderContent(example) + const $ = cheerio.load(res) + + // Check that the annotation structure is rendered correctly + const annotation = $('.annotate') + expect(annotation.length).toBe(1) + expect(annotation.hasClass('beside')).toBe(true) + + // Check annotation header exists + const header = $('.annotate-header') + expect(header.length).toBe(1) + + // Check both beside and inline modes are rendered + const beside = $('.annotate-beside') + const inline = $('.annotate-inline') + expect(beside.length).toBe(1) + expect(inline.length).toBe(1) + + // Check that we have the correct number of annotation rows + const rows = $('.annotate-row') + expect(rows.length).toBe(2) + + // Check that each row has both code and note sections + rows.each((i, row) => { + const $row = $(row) + expect($row.find('.annotate-code').length).toBe(1) + expect($row.find('.annotate-note').length).toBe(1) + }) + + // Check specific content of the annotations + const notes = $('.annotate-note p') + const noteTexts = notes.map((i, el) => $(el).text()).get() + expect(noteTexts).toEqual([ + 'The name of the workflow as it will appear in the "Actions" tab of the GitHub repository.', + 'Add the pull_request event, so that the workflow runs automatically\nevery time a pull request is created.', + ]) + + // Check code content + const codes = $('.annotate-code pre') + const codeTexts = codes.map((i, el) => $(el).text()).get() + expect(codeTexts).toEqual([ + 'name: Post welcome comment', + 'on:\n pull_request:\n types: [opened]', + ]) }) test('renders bash with hash bang annotations', async () => { @@ -63,6 +101,7 @@ on: \`\`\` `.trim() + const res = await renderContent(example) const $ = cheerio.load(res) @@ -79,4 +118,50 @@ on: "on:\n push:\n branches: ['release']", ]) }) + + test('supports AUTOTITLE links in annotations', async () => { + const example = ` +\`\`\`yaml annotate copy +# For more information about workflow syntax, see [AUTOTITLE](/get-started/start-your-journey/hello-world). +name: Test workflow + +# This uses the checkout action. See [AUTOTITLE](/get-started/foo) for details. +on: [push] +\`\`\` +` + + // Create a mock context with pages for AUTOTITLE resolution + const mockPages = { + '/get-started/start-your-journey/hello-world': { + href: '/get-started/start-your-journey/hello-world', + rawTitle: 'Hello World', + }, + '/get-started/foo': { + href: '/get-started/foo', + rawTitle: 'Fooing Around', + }, + } + + const mockContext = { + currentLanguage: 'en', + currentVersion: 'free-pro-team@latest', + pages: mockPages, + redirects: {}, + } + + const res = await renderContent(example, mockContext) + const $ = cheerio.load(res) + + const rows = $('.annotate-row') + const notes = $('.annotate-note', rows) + + // Check that AUTOTITLE links were resolved to actual titles + const firstNote = notes.eq(0).html() + const secondNote = notes.eq(1).html() + + expect(firstNote).toContain('Hello World') + expect(firstNote).not.toContain('[AUTOTITLE]') + expect(secondNote).toContain('Fooing Around') + expect(secondNote).not.toContain('[AUTOTITLE]') + }) }) diff --git a/src/content-render/unified/annotate.js b/src/content-render/unified/annotate.js index 5fd5fd9cc1f2..4d2db6a49640 100644 --- a/src/content-render/unified/annotate.js +++ b/src/content-render/unified/annotate.js @@ -36,6 +36,7 @@ import { h } from 'hastscript' import { fromMarkdown } from 'mdast-util-from-markdown' import { toHast } from 'mdast-util-to-hast' import { header } from './code-header.js' +import findPage from '#src/frame/lib/find-page.js' const languages = yaml.load(fs.readFileSync('./data/code-languages.yml', 'utf8')) @@ -66,15 +67,15 @@ const commentRegexes = { const matcher = (node) => node.type === 'element' && node.tagName === 'pre' && getPreMeta(node).annotate -export default function annotate() { +export default function annotate(context) { return (tree) => { visit(tree, matcher, (node, index, parent) => { - parent.children[index] = createAnnotatedNode(node) + parent.children[index] = createAnnotatedNode(node, context) }) } } -function createAnnotatedNode(node) { +function createAnnotatedNode(node, context) { const lang = node.children[0].properties.className[0].replace('language-', '') const code = node.children[0].children[0].value @@ -98,7 +99,7 @@ function createAnnotatedNode(node) { } // Render the HTML - return template({ lang, code, rows }) + return template({ lang, code, rows, context }) } function validate(lang, code) { @@ -178,7 +179,7 @@ function getSubnav() { return h('div', { className: 'annotate-toggle' }, [besideBtn, inlineBtn]) } -function template({ lang, code, rows }) { +function template({ lang, code, rows, context }) { return h( 'div', { class: 'annotate beside' }, @@ -197,7 +198,7 @@ function template({ lang, code, rows }) { h( 'div', { className: 'annotate-note' }, - mdToHast(note.map(removeComment(lang)).join('\n')), + mdToHast(note.map(removeComment(lang)).join('\n'), context), ), ]), ), @@ -209,8 +210,39 @@ function template({ lang, code, rows }) { ) } -function mdToHast(text) { - return toHast(fromMarkdown(text)) +function mdToHast(text, context) { + const mdast = fromMarkdown(text) + + // Process AUTOTITLE links if context is available + if (context) { + processAutotitleInMdast(mdast, context) + } + + return toHast(mdast) +} + +// Helper method to process AUTOTITLE links in MDAST +// This can be reused for other MDAST processing that needs AUTOTITLE support +function processAutotitleInMdast(mdast, context) { + visit(mdast, 'link', (node) => { + if (node.url && node.url.startsWith('/')) { + for (const child of node.children) { + if (child.type === 'text' && /^\s*AUTOTITLE\s*$/.test(child.value)) { + // Find the page and get its title + const page = findPage(node.url, context.pages, context.redirects) + if (page) { + try { + // Use rawTitle for synchronous processing in annotations + child.value = page.rawTitle || 'AUTOTITLE' + } catch (error) { + // Keep AUTOTITLE if we can't get the title + console.warn(`Could not resolve AUTOTITLE for ${node.url}:`, error.message) + } + } + } + } + } + }) } function removeComment(lang) { diff --git a/src/content-render/unified/processor.js b/src/content-render/unified/processor.js index 62674a283c7a..383e061fc435 100644 --- a/src/content-render/unified/processor.js +++ b/src/content-render/unified/processor.js @@ -47,7 +47,7 @@ export function createProcessor(context) { .use(useEnglishHeadings, context) .use(headingLinks) .use(codeHeader) - .use(annotate) + .use(annotate, context) .use(highlight, { languages: { ...common, graphql, dockerfile, http, groovy, erb, powershell }, subset: false, diff --git a/src/fixtures/fixtures/content/get-started/foo/autotitling.md b/src/fixtures/fixtures/content/get-started/foo/autotitling.md index f2cb18bd7d4c..c99fd530bfe6 100644 --- a/src/fixtures/fixtures/content/get-started/foo/autotitling.md +++ b/src/fixtures/fixtures/content/get-started/foo/autotitling.md @@ -29,12 +29,12 @@ Or, a combination of query string and hash: // This is a code sample console.log("Hello, World!"); -// for more info on this, visit [AUTOTITLE](/get-started/markdown). +// for more info on this, visit the documentation. function greet(name: string): void { console.log(`Hello, ${name}!`); } -// another example is [AUTOTITLE](/get-started/markdown/alerts) +// another example is using TypeScript types const userName: string = "TypeScript User"; greet(userName); ``` @@ -47,7 +47,7 @@ const { Octokit } = require("octokit"); // async function checkAndRedeliverWebhooks() { - // See [AUTOTITLE](/get-started/markdown/permissions) + // See the API documentation for permissions const TOKEN = process.env.TOKEN; const ORGANIZATION_NAME = process.env.ORGANIZATION_NAME; const HOOK_ID = process.env.HOOK_ID; diff --git a/src/fixtures/tests/internal-links.js b/src/fixtures/tests/internal-links.js index 88a3ad9b1c51..e00431e8c0b6 100644 --- a/src/fixtures/tests/internal-links.js +++ b/src/fixtures/tests/internal-links.js @@ -17,20 +17,6 @@ describe('autotitle', () => { expect.assertions(4) }) - // skipped because autotitles aren't supported in annotated code blocks yet - // see docs-engineering#3691 - test.skip('internal links in codeblocks with AUTOTITLE resolves', async () => { - const $ = await getDOM('/get-started/foo/autotitling') - const links = $('#article-contents a[href]') - links.each((i, element) => { - if ($(element).attr('href').includes('/get-started/markdown')) { - expect($(element).text()).toContain('Markdown') - } - }) - // There are 2 links on the `autotitling.md` content. - expect.assertions(2) - }) - test('typos lead to error when NODE_ENV !== production', async () => { // The fixture typo-autotitling.md contains two different typos // of the word "AUTOTITLE", separated by `{% if version ghes %}` diff --git a/src/frame/components/context/CategoryLandingContext.tsx b/src/frame/components/context/CategoryLandingContext.tsx index 56635139dc33..9dc64a869990 100644 --- a/src/frame/components/context/CategoryLandingContext.tsx +++ b/src/frame/components/context/CategoryLandingContext.tsx @@ -1,8 +1,8 @@ -import pick from 'lodash/pick' import { createContext, useContext } from 'react' import { LearningTrack } from './ArticleContext' import { FeaturedLink, getFeaturedLinksFromReq } from '@/landings/components/ProductLandingContext' -import { TocItem } from '@/landings/types' +import type { TocItem } from '@/landings/types' +import { mapRawTocItemToTocItem } from '@/landings/types' export type CategoryLandingContextT = { title: string @@ -37,8 +37,8 @@ export const getCategoryLandingContextFromRequest = (req: any): CategoryLandingC productCallout: req.context.page.product || '', permissions: req.context.page.permissions || '', intro: req.context.page.intro, - tocItems: (req.context.genericTocFlat || req.context.genericTocNested || []).map((obj: any) => - pick(obj, ['fullPath', 'title', 'intro', 'childTocItems']), + tocItems: (req.context.genericTocFlat || req.context.genericTocNested || []).map( + mapRawTocItemToTocItem, ), variant: req.context.genericTocFlat ? 'expanded' : 'compact', featuredLinks: getFeaturedLinksFromReq(req), diff --git a/src/frame/components/context/TocLandingContext.tsx b/src/frame/components/context/TocLandingContext.tsx index 75972f2eeb48..4c536af4fa25 100644 --- a/src/frame/components/context/TocLandingContext.tsx +++ b/src/frame/components/context/TocLandingContext.tsx @@ -1,20 +1,15 @@ -import pick from 'lodash/pick' import { createContext, useContext } from 'react' import { LearningTrack } from './ArticleContext' import { FeaturedLink, getFeaturedLinksFromReq } from '@/landings/components/ProductLandingContext' - -export type TocItem = { - fullPath: string - title: string - intro?: string -} +import type { SimpleTocItem } from '@/landings/types' +import { mapRawTocItemToSimpleTocItem } from '@/landings/types' export type TocLandingContextT = { title: string intro: string productCallout: string permissions: string - tocItems: Array + tocItems: Array variant?: 'compact' | 'expanded' featuredLinks: Record> renderedPage: string @@ -39,8 +34,8 @@ export const getTocLandingContextFromRequest = (req: any): TocLandingContextT => productCallout: req.context.page.product || '', permissions: req.context.page.permissions || '', intro: req.context.page.intro, - tocItems: (req.context.genericTocFlat || req.context.genericTocNested || []).map((obj: any) => - pick(obj, ['fullPath', 'title', 'intro', 'childTocItems']), + tocItems: (req.context.genericTocFlat || req.context.genericTocNested || []).map( + mapRawTocItemToSimpleTocItem, ), variant: req.context.genericTocFlat ? 'expanded' : 'compact', featuredLinks: getFeaturedLinksFromReq(req), diff --git a/src/frame/lib/path-utils.js b/src/frame/lib/path-utils.js index dd3fb7b9f36e..a8585509cb2d 100644 --- a/src/frame/lib/path-utils.js +++ b/src/frame/lib/path-utils.js @@ -111,6 +111,8 @@ export function getProductStringFromPath(href) { // For rest pages the currentProduct should be rest // We use this to show SidebarRest, which is a different sidebar than the rest of the site if (pathParts[1] === 'rest') return 'rest' + if (pathParts[1] === 'copilot') return 'copilot' + if (pathParts[1] === 'get-started') return 'get-started' // Possible scenarios for href (assume part[0] is an empty string): // diff --git a/src/frame/tests/secure-files.js b/src/frame/tests/secure-files.js index 664dc7d7ddf7..7f9617b3385e 100644 --- a/src/frame/tests/secure-files.js +++ b/src/frame/tests/secure-files.js @@ -13,7 +13,7 @@ import { glob } from 'glob' const secureFiles = [ { name: 'Security hardening your deployments', - path: 'content/actions/security-for-github-actions/security-hardening-your-deployments/**', + path: 'content/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/**', }, { name: 'RAI transparency note reusable directory', diff --git a/src/landings/components/ProductLandingContext.tsx b/src/landings/components/ProductLandingContext.tsx index a37e5b53a932..deecd64572e7 100644 --- a/src/landings/components/ProductLandingContext.tsx +++ b/src/landings/components/ProductLandingContext.tsx @@ -1,15 +1,6 @@ import { createContext, useContext } from 'react' import pick from 'lodash/pick' - -export type TocItem = { - fullPath: string - title: string - intro?: string - childTocItems?: Array<{ - fullPath: string - title: string - }> -} +import type { SimpleTocItem } from '@/landings/types' export type FeaturedLink = { title: string href: string @@ -60,7 +51,7 @@ export type ProductLandingContextT = { }> changelogUrl?: string whatsNewChangelog?: Array<{ href: string; title: string; date: string }> - tocItems: Array + tocItems: Array hasGuidesPage: boolean ghesReleases: Array } diff --git a/src/landings/components/TableOfContents.tsx b/src/landings/components/TableOfContents.tsx index 67ad04435240..7775ac9a8ff8 100644 --- a/src/landings/components/TableOfContents.tsx +++ b/src/landings/components/TableOfContents.tsx @@ -3,7 +3,7 @@ import cx from 'classnames' import { ActionList } from '@primer/react' import { Link } from '@/frame/components/Link' -import type { TocItem } from '@/landings/components/ProductLandingContext' +import type { TocItem } from '@/landings/types' type Props = { items: Array diff --git a/src/landings/types.ts b/src/landings/types.ts index b38c9e66dba0..b8e522cae615 100644 --- a/src/landings/types.ts +++ b/src/landings/types.ts @@ -1,29 +1,113 @@ +// Base type for all TOC items with core properties export type BaseTocItem = { fullPath: string title: string intro?: string } +// Valid octicon types that match the CookBookArticleCard component +export type ValidOcticon = + | 'code' + | 'log' + | 'terminal' + | 'bug' + | 'lightbulb' + | 'gear' + | 'rocket' + | 'beaker' + | 'copilot' + | 'hubot' + | 'book' + | 'shield-lock' + | 'lock' + +// Extended type for child TOC items with additional metadata export type ChildTocItem = BaseTocItem & { - octicon?: - | 'code' - | 'log' - | 'terminal' - | 'bug' - | 'lightbulb' - | 'gear' - | 'rocket' - | 'beaker' - | 'copilot' - | 'hubot' - | 'book' + octicon?: ValidOcticon category?: string[] complexity?: string[] industry?: string[] } +// Main TOC item type that can contain children export type TocItem = BaseTocItem & { childTocItems?: ChildTocItem[] + octicon?: ValidOcticon + category?: string[] + complexity?: string[] + industry?: string[] } +// Type alias for article card components export type ArticleCardItems = ChildTocItem[] + +// Raw TOC type that matches the actual data structure from getTocItems() +// This includes all properties that may be present in the source data +export type RawTocItem = { + title: string + fullPath: string + intro: string | null + octicon: string | null + category: string[] | null + complexity: string[] | null + industry: string[] | null + childTocItems: RawTocItem[] +} + +// Helper function to validate and cast octicon values +export function isValidOcticon(octicon: string | null): octicon is ValidOcticon { + const validOcticons: ValidOcticon[] = [ + 'code', + 'log', + 'terminal', + 'bug', + 'lightbulb', + 'gear', + 'rocket', + 'beaker', + 'copilot', + 'hubot', + 'book', + 'shield-lock', + 'lock', + ] + return octicon !== null && validOcticons.includes(octicon as ValidOcticon) +} + +// Simplified TOC item type for basic landing pages that don't need extended metadata +export type SimpleTocItem = { + fullPath: string + title: string + intro?: string + childTocItems?: Array<{ + fullPath: string + title: string + }> +} + +// Reusable mapper function to convert RawTocItem to TocItem with full metadata +export function mapRawTocItemToTocItem(raw: RawTocItem): TocItem { + return { + fullPath: raw.fullPath, + title: raw.title, + intro: raw.intro || undefined, + octicon: isValidOcticon(raw.octicon) ? raw.octicon : undefined, + category: raw.category || undefined, + complexity: raw.complexity || undefined, + industry: raw.industry || undefined, + childTocItems: raw.childTocItems?.map(mapRawTocItemToTocItem), + } +} + +// Reusable mapper function to convert RawTocItem to SimpleTocItem +export function mapRawTocItemToSimpleTocItem(raw: RawTocItem): SimpleTocItem { + return { + fullPath: raw.fullPath, + title: raw.title, + intro: raw.intro || undefined, + childTocItems: raw.childTocItems?.map((child) => ({ + fullPath: child.fullPath, + title: child.title, + })), + } +} diff --git a/src/redirects/lib/static/redirect-exceptions.txt b/src/redirects/lib/static/redirect-exceptions.txt index 8ede8c5cf421..6a8022dbf2a4 100644 --- a/src/redirects/lib/static/redirect-exceptions.txt +++ b/src/redirects/lib/static/redirect-exceptions.txt @@ -40,7 +40,7 @@ - /enterprise-cloud@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning-for-a-repository # As seen in PR 48753 we are restructuring the copilot docs and removing the overview category -/copilot/about-github-copilot +/copilot/get-started - /copilot/overview-of-github-copilot # Pages that existed *only* in github-ae need their equivalent diff --git a/src/rest/pages/category.tsx b/src/rest/pages/category.tsx index f20deffb508f..06d22bc86e41 100644 --- a/src/rest/pages/category.tsx +++ b/src/rest/pages/category.tsx @@ -15,10 +15,10 @@ import { import type { MiniTocItem } from '@/frame/components/context/ArticleContext' import { getTocLandingContextFromRequest, - TocItem, TocLandingContext, TocLandingContextT, } from '@/frame/components/context/TocLandingContext' +import type { TocItem } from '@/landings/types' import { TocLanding } from '@/landings/components/TocLanding' type MinitocItemsT = { diff --git a/src/types.ts b/src/types.ts index 8a83f4970353..e25ef13b5088 100644 --- a/src/types.ts +++ b/src/types.ts @@ -2,6 +2,7 @@ import type { Request } from 'express' import type { Failbot } from '@github/failbot' import type enterpriseServerReleases from '@/versions/lib/enterprise-server-releases.d.ts' +import type { ValidOcticon } from '@/landings/types' // Throughout our codebase we "extend" the Request object by attaching // things to it. For example `req.context = { currentCategory: 'foo' }`. @@ -239,8 +240,12 @@ type Breadcrumb = { export type ToC = { title: string fullPath: string - intro: string - childTocItems: ToC[] | null + intro: string | null + octicon: ValidOcticon | null + category: string[] | null + complexity: string[] | null + industry: string[] | null + childTocItems: ToC[] } export type GHESRelease = { diff --git a/src/workflows/unallowed-contribution-filters.yml b/src/workflows/unallowed-contribution-filters.yml index 20b8fafc3eca..f39c53a0c13e 100644 --- a/src/workflows/unallowed-contribution-filters.yml +++ b/src/workflows/unallowed-contribution-filters.yml @@ -5,7 +5,7 @@ notAllowed: - 'Dockerfile*' - 'src/**' - 'package*.json' - - 'content/actions/deployment/security-hardening-your-deployments/**' + - 'content/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/**' contentTypes: - 'content/**' # allows getting a list of just added files from the dorny/paths-filter action