diff --git a/.github/workflows/close-external-repo-sync-prs.yml b/.github/workflows/close-external-repo-sync-prs.yml deleted file mode 100644 index 40f95738a4..0000000000 --- a/.github/workflows/close-external-repo-sync-prs.yml +++ /dev/null @@ -1,65 +0,0 @@ -name: Check for External Repo Sync PR - -# **What it does**: If someone made a repo sync pull request other than Octomerger, close it. -# **Why we have it**: Another form of spam in the open-source repository. -# **Who does it impact**: Open-source contributors. - -on: - pull_request: - types: - - opened - - reopened - branches: - - main - -jobs: - invalid-repo-sync-check: - name: Close external Repo Sync PRs - if: ${{ github.repository == 'github/docs' && github.head_ref == 'repo-sync' }} - runs-on: ubuntu-latest - steps: - - uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9 - with: - github-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }} - script: | - - const prCreator = context.payload.sender.login - - // If the PR creator is the expected account, stop now - if (prCreator === 'Octomerger') { - return - } - - try { - await github.teams.getMembershipForUserInOrg({ - org: 'github', - team_slug: 'employees', - username: prCreator - }) - - // If the PR creator is a GitHub employee, stop now - return - } catch (err) { - // An error will be thrown if the user is not a GitHub employee. - // That said, we still want to proceed anyway! - } - - const pr = context.payload.pull_request - const { owner, repo } = context.repo - - // Close the PR and add the invalid label - await github.issues.update({ - owner: owner, - repo: repo, - issue_number: pr.number, - labels: ['invalid'], - state: 'closed' - }) - - // Comment on the PR - await github.issues.createComment({ - owner: owner, - repo: repo, - issue_number: pr.number, - body: "Please leave this `repo-sync` branch to the robots!\n\nI'm going to close this pull request now, but feel free to open a new issue or ask any questions in [discussions](https://github.com/github/docs/discussions)!" - }) diff --git a/.github/workflows/confirm-internal-staff-work-in-docs.yml b/.github/workflows/confirm-internal-staff-work-in-docs.yml index 60dc9fa9bc..6edcebf2e2 100644 --- a/.github/workflows/confirm-internal-staff-work-in-docs.yml +++ b/.github/workflows/confirm-internal-staff-work-in-docs.yml @@ -17,7 +17,7 @@ jobs: check-team-membership: runs-on: ubuntu-latest continue-on-error: true - if: github.repository == 'github/docs' + if: github.repository == 'github/docs' && github.actor != 'docs-bot' steps: - id: membership_check uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9 diff --git a/.github/workflows/move-reopened-issues-to-triage.yaml b/.github/workflows/move-reopened-issues-to-triage.yaml new file mode 100644 index 0000000000..415c97d8c8 --- /dev/null +++ b/.github/workflows/move-reopened-issues-to-triage.yaml @@ -0,0 +1,41 @@ +name: Move Reopened Issues to Triage + +# **What it does**: Moves issues that are reopened from the Done column to the Triage column. +# **Why we have it**: To prevent having to do this manually. +# **Who does it impact**: Open-source. + +on: + issues: + types: + - reopened + +jobs: + move-reopened-issue-to-triage: + if: github.repository == 'github/docs' + runs-on: ubuntu-latest + steps: + - uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9 + with: + github-token: ${{ github.token }} + script: | + const issueNumber = context.issue.number; + const doneColumnId = 11167427; + const triageColumnId = 11007039; + + try { + const cards = await github.projects.listCards({ + column_id: doneColumnId + }); + + for (const card of cards) { + if (card.content_url.endsWith(`/${issueNumber}`)) { + await github.projects.moveCard({ + card_id: card.id, + position: 'position', + column_id: triageColumnId + }); + } + } + } catch(e) { + console.log(error); + } diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index 7bb8872f5e..d91b0180a8 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -1,13 +1,18 @@ # The docs.github.com project has two repositories: github/docs (public) and github/docs-internal (private) # -# This GitHub Actions workflow keeps the main branch of those two repos in sync. +# This GitHub Actions workflow keeps the `main` branch of those two repos in sync. # # For more details, see https://github.com/repo-sync/repo-sync#how-it-works name: Repo Sync -# **What it does**: Syncs docs and docs-internal. -# **Why we have it**: To keep the open-source repository up-to-date, while still having an internal repository for sensitive work. +# **What it does**: +# - close-invalid-repo-sync: Close repo sync pull requests not created by Octomerger or a Hubber. +# - repo-sync: Syncs docs and docs-internal. +# **Why we have it**: +# - close-invalid-repo-sync: Another form of spam prevention for the open-source repository. +# - repo-sync: To keep the open-source repository up-to-date, while still having an internal +# repository for sensitive work. # **Who does it impact**: Open-source. on: @@ -16,7 +21,73 @@ on: - cron: '*/15 * * * *' # every 15 minutes jobs: + close-invalid-repo-sync: + name: Close invalid Repo Sync PRs + runs-on: ubuntu-latest + steps: + - name: Find pull request + if: ${{ github.repository == 'github/docs' }} + uses: juliangruber/find-pull-request-action@2fc55e82a6d5d36fe1e7f1848f7e64fd02d99de9 + id: find-pull-request + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + branch: repo-sync + base: main + + - name: Close pull request if unwanted + if: ${{ github.repository == 'github/docs' && steps.find-pull-request.outputs.number }} + uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9 + with: + github-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }} + script: | + const { owner, repo } = context.repo + + const pr = await github.pulls.get({ + owner, + repo, + pull_number: parseInt(${{ steps.find-pull-request.outputs.number }}) + }) + + const prCreator = pr.user.login + + // If the PR creator is the expected account, stop now + if (prCreator === 'Octomerger') { + return + } + + try { + await github.teams.getMembershipForUserInOrg({ + org: 'github', + team_slug: 'employees', + username: prCreator + }) + + // If the PR creator is a GitHub employee, stop now + return + } catch (err) { + // An error will be thrown if the user is not a GitHub employee. + // That said, we still want to proceed anyway! + } + + // Close the PR and add the invalid label + await github.issues.update({ + owner, + repo, + issue_number: pr.number, + labels: ['invalid'], + state: 'closed' + }) + + // Comment on the PR + await github.issues.createComment({ + owner, + repo, + issue_number: pr.number, + body: "Please leave this `repo-sync` branch to the robots!\n\nI'm going to close this pull request now, but feel free to open a new issue or ask any questions in [discussions](https://github.com/github/docs/discussions)!" + }) + repo-sync: + needs: close-invalid-repo-sync if: github.repository == 'github/docs-internal' || github.repository == 'github/docs' name: Repo Sync runs-on: ubuntu-latest diff --git a/assets/images/help/billing/confirm-sponsorship-cancellation.png b/assets/images/help/billing/confirm-sponsorship-cancellation.png index d8123dc2ac..0ae527d924 100644 Binary files a/assets/images/help/billing/confirm-sponsorship-cancellation.png and b/assets/images/help/billing/confirm-sponsorship-cancellation.png differ diff --git a/assets/images/help/pages/choose-a-theme.png b/assets/images/help/pages/choose-a-theme.png index e05a637b4e..aa5af54d24 100644 Binary files a/assets/images/help/pages/choose-a-theme.png and b/assets/images/help/pages/choose-a-theme.png differ diff --git a/assets/images/help/pages/click-private-pages-url-to-preview.png b/assets/images/help/pages/click-private-pages-url-to-preview.png index eb285a2fd0..6cac3856e6 100644 Binary files a/assets/images/help/pages/click-private-pages-url-to-preview.png and b/assets/images/help/pages/click-private-pages-url-to-preview.png differ diff --git a/assets/images/help/pages/enforce-https-custom-domains.png b/assets/images/help/pages/enforce-https-custom-domains.png index a397baf340..653520fe7a 100644 Binary files a/assets/images/help/pages/enforce-https-custom-domains.png and b/assets/images/help/pages/enforce-https-custom-domains.png differ diff --git a/assets/images/help/pages/pages-tab.png b/assets/images/help/pages/pages-tab.png new file mode 100644 index 0000000000..02a87abc5a Binary files /dev/null and b/assets/images/help/pages/pages-tab.png differ diff --git a/assets/images/help/pages/publishing-source-drop-down.png b/assets/images/help/pages/publishing-source-drop-down.png index 53d9dcfe29..91131ab650 100644 Binary files a/assets/images/help/pages/publishing-source-drop-down.png and b/assets/images/help/pages/publishing-source-drop-down.png differ diff --git a/assets/images/help/pages/remove-custom-domain.png b/assets/images/help/pages/remove-custom-domain.png new file mode 100644 index 0000000000..2b09f66fbd Binary files /dev/null and b/assets/images/help/pages/remove-custom-domain.png differ diff --git a/assets/images/help/pages/save-custom-apex-domain.png b/assets/images/help/pages/save-custom-apex-domain.png index cf5d7cf090..d41cddbddd 100644 Binary files a/assets/images/help/pages/save-custom-apex-domain.png and b/assets/images/help/pages/save-custom-apex-domain.png differ diff --git a/assets/images/help/pages/save-custom-subdomain.png b/assets/images/help/pages/save-custom-subdomain.png index 24a248d980..01f6d6d926 100644 Binary files a/assets/images/help/pages/save-custom-subdomain.png and b/assets/images/help/pages/save-custom-subdomain.png differ diff --git a/assets/images/help/repository/actions-quickstart-commit-new-file.png b/assets/images/help/repository/actions-quickstart-commit-new-file.png new file mode 100644 index 0000000000..7d1df5a5c2 Binary files /dev/null and b/assets/images/help/repository/actions-quickstart-commit-new-file.png differ diff --git a/assets/images/help/repository/actions-quickstart-job.png b/assets/images/help/repository/actions-quickstart-job.png new file mode 100644 index 0000000000..93fa19fca6 Binary files /dev/null and b/assets/images/help/repository/actions-quickstart-job.png differ diff --git a/assets/images/help/repository/actions-quickstart-log-detail.png b/assets/images/help/repository/actions-quickstart-log-detail.png new file mode 100644 index 0000000000..05ff4b0ba4 Binary files /dev/null and b/assets/images/help/repository/actions-quickstart-log-detail.png differ diff --git a/assets/images/help/repository/actions-quickstart-logs.png b/assets/images/help/repository/actions-quickstart-logs.png new file mode 100644 index 0000000000..e7a0efcbd7 Binary files /dev/null and b/assets/images/help/repository/actions-quickstart-logs.png differ diff --git a/assets/images/help/repository/actions-quickstart-run-name.png b/assets/images/help/repository/actions-quickstart-run-name.png new file mode 100644 index 0000000000..d6398fa640 Binary files /dev/null and b/assets/images/help/repository/actions-quickstart-run-name.png differ diff --git a/assets/images/help/repository/actions-quickstart-workflow-sidebar.png b/assets/images/help/repository/actions-quickstart-workflow-sidebar.png new file mode 100644 index 0000000000..2221c58c98 Binary files /dev/null and b/assets/images/help/repository/actions-quickstart-workflow-sidebar.png differ diff --git a/assets/images/help/settings/settings-sidebar-billing-plans.png b/assets/images/help/settings/settings-sidebar-billing-plans.png new file mode 100644 index 0000000000..015902a30b Binary files /dev/null and b/assets/images/help/settings/settings-sidebar-billing-plans.png differ diff --git a/assets/images/help/sponsors/add-a-tier-button.png b/assets/images/help/sponsors/add-a-tier-button.png index fef5798c32..df5a2e41a9 100644 Binary files a/assets/images/help/sponsors/add-a-tier-button.png and b/assets/images/help/sponsors/add-a-tier-button.png differ diff --git a/assets/images/help/sponsors/enable-custom-amounts.png b/assets/images/help/sponsors/enable-custom-amounts.png new file mode 100644 index 0000000000..8c0de05d9e Binary files /dev/null and b/assets/images/help/sponsors/enable-custom-amounts.png differ diff --git a/assets/images/help/sponsors/filter-drop-down.png b/assets/images/help/sponsors/filter-drop-down.png index 4128bc4f69..61522d8b72 100644 Binary files a/assets/images/help/sponsors/filter-drop-down.png and b/assets/images/help/sponsors/filter-drop-down.png differ diff --git a/assets/images/help/sponsors/pay-prorated-amount-link.png b/assets/images/help/sponsors/pay-prorated-amount-link.png index 46683831ad..882a677a15 100644 Binary files a/assets/images/help/sponsors/pay-prorated-amount-link.png and b/assets/images/help/sponsors/pay-prorated-amount-link.png differ diff --git a/assets/images/help/sponsors/publish-tier-button.png b/assets/images/help/sponsors/publish-tier-button.png index c52eb02e22..d87155ed79 100644 Binary files a/assets/images/help/sponsors/publish-tier-button.png and b/assets/images/help/sponsors/publish-tier-button.png differ diff --git a/assets/images/help/sponsors/save-tier-draft.png b/assets/images/help/sponsors/save-tier-draft.png index a008decdc1..9469f3c1a6 100644 Binary files a/assets/images/help/sponsors/save-tier-draft.png and b/assets/images/help/sponsors/save-tier-draft.png differ diff --git a/assets/images/help/sponsors/select-a-tier-box.png b/assets/images/help/sponsors/select-a-tier-box.png index cbdad0a4f0..7337ae1c64 100644 Binary files a/assets/images/help/sponsors/select-a-tier-box.png and b/assets/images/help/sponsors/select-a-tier-box.png differ diff --git a/assets/images/help/sponsors/set-default-amount.png b/assets/images/help/sponsors/set-default-amount.png new file mode 100644 index 0000000000..6f05d09dc5 Binary files /dev/null and b/assets/images/help/sponsors/set-default-amount.png differ diff --git a/assets/images/help/sponsors/show-one-time-tiers.png b/assets/images/help/sponsors/show-one-time-tiers.png new file mode 100644 index 0000000000..6a4ce0c3e5 Binary files /dev/null and b/assets/images/help/sponsors/show-one-time-tiers.png differ diff --git a/assets/images/help/sponsors/sponsor-developer-button.png b/assets/images/help/sponsors/sponsor-developer-button.png index 07ff04b8c3..e44f53529a 100644 Binary files a/assets/images/help/sponsors/sponsor-developer-button.png and b/assets/images/help/sponsors/sponsor-developer-button.png differ diff --git a/assets/images/help/sponsors/tier-price-description.png b/assets/images/help/sponsors/tier-price-description.png index 6c8dcc929c..74310b682d 100644 Binary files a/assets/images/help/sponsors/tier-price-description.png and b/assets/images/help/sponsors/tier-price-description.png differ diff --git a/assets/images/help/sponsors/update-sponsorship-button.png b/assets/images/help/sponsors/update-sponsorship-button.png index 3e73ca622f..c4d7f82a31 100644 Binary files a/assets/images/help/sponsors/update-sponsorship-button.png and b/assets/images/help/sponsors/update-sponsorship-button.png differ diff --git a/assets/images/help/sponsors/updates-checkbox-manage.png b/assets/images/help/sponsors/updates-checkbox-manage.png index 42f509ba4c..c0e919374d 100644 Binary files a/assets/images/help/sponsors/updates-checkbox-manage.png and b/assets/images/help/sponsors/updates-checkbox-manage.png differ diff --git a/assets/images/help/sponsors/who-can-see-sponsorship.png b/assets/images/help/sponsors/who-can-see-sponsorship.png index 6caf98886d..aac8a4df94 100644 Binary files a/assets/images/help/sponsors/who-can-see-sponsorship.png and b/assets/images/help/sponsors/who-can-see-sponsorship.png differ diff --git a/content/README.md b/content/README.md index 45b571c323..ca4ad5debd 100644 --- a/content/README.md +++ b/content/README.md @@ -184,8 +184,10 @@ featuredLinks: ### `changelog` -- Purpose: Render a list of changelog items with timestamps on product pages (ex: `layouts/product-landing.html`) -- Type: `Array`, items are objects `{ href: string, title: string, date: 'YYYY-MM-DD' }` +- Purpose: Render a list of items pulled from [GitHub Changelog](https://github.blog/changelog/) on product landing pages (ex: `layouts/product-landing.html`). The one exception is Education, which pulls from https://github.blog/category/community/education. +- Type: `Object`, properties: + - `label` -- must be present and corresponds to the labels used in the [GitHub Changelog](https://github.blog/changelog/) + - `prefix` -- optional string that starts each changelog title that should be omitted in the docs feed. For example, with the prefix `GitHub Actions: ` specified, changelog titles like `GitHub Actions: Some Title Here` will render as `Some Title Here` in the docs feed). - Optional. ### `defaultPlatform` @@ -223,7 +225,7 @@ includeGuides: ``` ### `type` -- Purpose: Indicate the type of article. +- Purpose: Indicate the type of article. - Type: `String`, one of the `overview`, `quick_start`, `tutorial`, `how_to`, `reference`. - Optional. diff --git a/content/actions/index.md b/content/actions/index.md index 48ff80ce2c..d32dfec985 100644 --- a/content/actions/index.md +++ b/content/actions/index.md @@ -22,18 +22,9 @@ featuredLinks: - /actions/reference/environment-variables - /actions/reference/encrypted-secrets changelog: - - title: Environments, environment protection rules and environment secrets (beta) - date: '2020-12-15' - href: https://github.blog/changelog/2020-12-15-github-actions-environments-environment-protection-rules-and-environment-secrets-beta/ - - title: Workflow visualization - date: '2020-12-08' - href: https://github.blog/changelog/2020-12-08-github-actions-workflow-visualization/ - - title: Removing set-env and add-path commands on November 16 - date: '2020-11-09' - href: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ - + label: 'actions' + prefix: 'GitHub Actions: ' product_video: https://www.youtube-nocookie.com/embed/cP0I9w2coGU - redirect_from: - /articles/automating-your-workflow-with-github-actions/ - /articles/customizing-your-project-with-github-actions/ diff --git a/content/actions/quickstart.md b/content/actions/quickstart.md index fa57cf9deb..cb424476cc 100644 --- a/content/actions/quickstart.md +++ b/content/actions/quickstart.md @@ -1,6 +1,6 @@ --- title: Quickstart for GitHub Actions -intro: 'Add a {% data variables.product.prodname_actions %} workflow to an existing repository in 5 minutes or less.' +intro: 'Try out the features of {% data variables.product.prodname_actions %} in 5 minutes or less.' allowTitleToDifferFromFilename: true redirect_from: - /actions/getting-started-with-github-actions/starting-with-preconfigured-workflow-templates @@ -19,135 +19,73 @@ topics: ### Introduction -You only need an existing {% data variables.product.prodname_dotcom %} repository to create and run a {% data variables.product.prodname_actions %} workflow. In this guide, you'll add a workflow that lints multiple coding languages using the [{% data variables.product.prodname_dotcom %} Super-Linter action](https://github.com/github/super-linter). The workflow uses Super-Linter to validate your source code every time a new commit is pushed to your repository. +You only need a {% data variables.product.prodname_dotcom %} repository to create and run a {% data variables.product.prodname_actions %} workflow. In this guide, you'll add a workflow that demonstrates some of the essential features of {% data variables.product.prodname_actions %}. + +The following example shows you how {% data variables.product.prodname_actions %} jobs can be automatically triggered, where they run, and how they can interact with the code in your repository. ### Creating your first workflow -1. From your repository on {% data variables.product.prodname_dotcom %}, create a new file in the `.github/workflows` directory named `superlinter.yml`. For more information, see "[Creating new files](/github/managing-files-in-a-repository/creating-new-files)." -2. Copy the following YAML contents into the `superlinter.yml` file. **Note:** If your default branch is not `main`, update the value of `DEFAULT_BRANCH` to match your repository's default branch name. +1. From your repository on {% data variables.product.prodname_dotcom %}, create a new file in the `.github/workflows` directory named `github-actions-demo.yml`. For more information, see "[Creating new files](/github/managing-files-in-a-repository/creating-new-files)." +2. Copy the following YAML contents into the `github-actions-demo.yml` file: {% raw %} ```yaml{:copy} - name: Super-Linter - - # Run this workflow every time a new commit pushed to your repository - on: push - + name: GitHub Actions Demo + on: [push] jobs: - # Set the job key. The key is displayed as the job name - # when a job name is not provided - super-lint: - # Name the Job - name: Lint code base - # Set the type of machine to run on + Explore-GitHub-Actions: runs-on: ubuntu-latest - steps: - # Checks out a copy of your repository on the ubuntu-latest machine - - name: Checkout code + - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." + - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" + - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." + - name: Check out repository code uses: actions/checkout@v2 + - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." + - run: echo "🖥️ The workflow is now ready to test your code on the runner." + - name: List files in the repository + run: | + ls ${{ github.workspace }} + - run: echo "🍏 This job's status is ${{ job.status }}." - # Runs the Super-Linter action - - name: Run Super-Linter - uses: github/super-linter@v3 - env: - DEFAULT_BRANCH: main - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ``` {% endraw %} -3. To run your workflow, scroll to the bottom of the page and select **Create a new branch for this commit and start a pull request**. Then, to create a pull request, click **Propose new file**. - ![Commit workflow file](/assets/images/commit-workflow-file.png) +3. Scroll to the bottom of the page and select **Create a new branch for this commit and start a pull request**. Then, to create a pull request, click **Propose new file**. + ![Commit workflow file](/assets/images/help/repository/actions-quickstart-commit-new-file.png) -Committing the workflow file in your repository triggers the `push` event and runs your workflow. +Committing the workflow file to a branch in your repository triggers the `push` event and runs your workflow. ### Viewing your workflow results {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.actions-tab %} -{% data reusables.repositories.navigate-to-workflow-superlinter %} -{% data reusables.repositories.view-run-superlinter %} -{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" or currentVersion == "github-ae@latest" %} -1. Under **Jobs** or in the visualization graph, click the **Lint code base** job. - ![Lint code base job](/assets/images/help/repository/superlinter-lint-code-base-job-updated.png) -{% else %} -1. In the left sidebar, click the **Lint code base** job. - ![Lint code base job](/assets/images/help/repository/superlinter-lint-code-base-job.png) -{% endif %} -{% data reusables.repositories.view-failed-job-results-superlinter %} +1. In the left sidebar, click the workflow you want to see. + ![Workflow list in left sidebar](/assets/images/help/repository/actions-quickstart-workflow-sidebar.png) +1. From the list of workflow runs, click the name of the run you want to see. + + ![Name of workflow run](/assets/images/help/repository/actions-quickstart-run-name.png) +1. Under **Jobs** , click the **Explore-GitHub-Actions** job. + + ![Locate job](/assets/images/help/repository/actions-quickstart-job.png) +1. The log shows you how each of the steps was processed. Expand any of the steps to view its details. + + ![Example workflow results](/assets/images/help/repository/actions-quickstart-logs.png) + + For example, you can see the list of files in your repository: + ![Example action detail](/assets/images/help/repository/actions-quickstart-log-detail.png) + ### More workflow templates {% data reusables.actions.workflow-template-overview %} ### Next steps -The super-linter workflow you just added runs each time code is pushed to your repository to help you spot errors and inconsistencies in your code. But this is only the beginning of what you can do with {% data variables.product.prodname_actions %}. Your repository can contain multiple workflows that trigger different jobs based on different events. {% data variables.product.prodname_actions %} can help you automate nearly every aspect of your application development processes. Ready to get started? Here are some helpful resources for taking your next steps with {% data variables.product.prodname_actions %}: +The example workflow you just added runs each time code is pushed to the branch, and shows you how {% data variables.product.prodname_actions %} can work with the contents of your repository. But this is only the beginning of what you can do with {% data variables.product.prodname_actions %}: -- "[Learn {% data variables.product.prodname_actions %}](/actions/learn-github-actions)" for an in-depth tutorial -- "[Guides](/actions/guides)" for specific uses cases and examples -- [github/super-linter](https://github.com/github/super-linter) for more details about configuring the Super-Linter action +- Your repository can contain multiple workflows that trigger different jobs based on different events. +- You can use a workflow to install software testing apps and have them automatically test your code on {% data variables.product.prodname_dotcom %}'s runners. - +- "[Learn {% data variables.product.prodname_actions %}](/actions/learn-github-actions)" for an in-depth tutorial. +- "[Guides](/actions/guides)" for specific uses cases and examples. diff --git a/content/admin/github-actions/manually-syncing-actions-from-githubcom.md b/content/admin/github-actions/manually-syncing-actions-from-githubcom.md index 3f46dfaac6..8e5a13fe7d 100644 --- a/content/admin/github-actions/manually-syncing-actions-from-githubcom.md +++ b/content/admin/github-actions/manually-syncing-actions-from-githubcom.md @@ -30,6 +30,19 @@ The `actions-sync` tool can only download actions from {% data variables.product * Before using the `actions-sync` tool, you must ensure that all destination organizations already exist on your enterprise instance. The following example demonstrates how to sync actions to an organization named `synced-actions` on an enterprise instance. For more information, see "[Creating a new organization from scratch](/organizations/collaborating-with-groups-in-organizations/creating-a-new-organization-from-scratch)." * You must create a personal access token (PAT) on your enterprise instance that can create and write to repositories in the destination organizations. For more information, see "[Creating a personal access token](/github/authenticating-to-github/creating-a-personal-access-token)." +* If you want to sync the bundled actions in the `actions` organization on {% data variables.product.product_location %}, you must be an owner of the `actions` organization. + + {% note %} + + **Note:** By default, even site administrators are not owners of the bundled `actions` organization. + + {% endnote %} + + Site administrators can use the `ghe-org-admin-promote` command in the administrative shell to promote a user to be an owner of the bundled `actions` organization. For more information, see "[Accessing the administrative shell (SSH)](/admin/configuration/accessing-the-administrative-shell-ssh)" and "[`ghe-org-admin-promote`](/admin/configuration/command-line-utilities#ghe-org-admin-promote)." + + ```shell + ghe-org-admin-promote -u USERNAME -o actions + ``` ### Example: Using the `actions-sync` tool diff --git a/content/code-security/secure-coding/index.md b/content/code-security/secure-coding/index.md index cb7577cb39..88d811e9a0 100644 --- a/content/code-security/secure-coding/index.md +++ b/content/code-security/secure-coding/index.md @@ -1,7 +1,7 @@ --- title: Finding security vulnerabilities and errors in your code shortTitle: Secure coding -intro: 'Keep your code secure by using secret scanning to identify and fix potential security vulnerabilities and other errors in your code.' +intro: 'Keep your code secure by using {% data variables.product.prodname_code_scanning %} to identify and fix potential security vulnerabilities and other errors in your code.' product: '{% data reusables.gated-features.code-scanning %}' redirect_from: - /github/managing-security-vulnerabilities/finding-security-vulnerabilities-in-your-projects-code diff --git a/content/discussions/index.md b/content/discussions/index.md index 84d965fd4a..9974eb20a2 100644 --- a/content/discussions/index.md +++ b/content/discussions/index.md @@ -22,6 +22,8 @@ featuredLinks: - /discussions/guides/finding-discussions-across-multiple-repositories - /discussions/collaborating-with-your-community-using-discussions/collaborating-with-maintainers-using-discussions - /discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository +changelog: + label: 'discussions' product_video: https://www.youtube-nocookie.com/embed/IpBw2SJkFyk layout: product-landing versions: diff --git a/content/education/index.md b/content/education/index.md index 44ffabc2e0..abd70e5dc1 100644 --- a/content/education/index.md +++ b/content/education/index.md @@ -19,21 +19,8 @@ featuredLinks: - /desktop - /github/getting-started-with-github/github-cli - /education/manage-coursework-with-github-classroom/teach-with-github-classroom - changelog: - - title: 'Try something new at Local Hack Day: Learn' - date: '2020-10-15' - href: https://github.blog/2020-10-15-try-something-new-at-local-hack-day-learn/ - - title: 'Remote Education: Creating community through shared experiences' - date: '2020-09-24' - href: https://github.blog/2020-09-24-remote-education-creating-community-through-shared-experiences/ - - title: 'Remote Education: A series of best practices for online campus communities' - date: '2020-09-10' - href: https://github.blog/2020-09-10-remote-education-a-series-of-best-practices-for-online-campus-communities/ - - title: Welcome to the inaugural class of MLH Fellows - date: '2020-06-24' - href: https://github.blog/2020-06-24-welcome-to-the-inaugural-class-of-mlh-fellows/ - + label: 'education' layout: product-landing versions: free-pro-team: '*' diff --git a/content/github/authenticating-to-github/creating-a-personal-access-token.md b/content/github/authenticating-to-github/creating-a-personal-access-token.md index fe174b149d..754e8fa567 100644 --- a/content/github/authenticating-to-github/creating-a-personal-access-token.md +++ b/content/github/authenticating-to-github/creating-a-personal-access-token.md @@ -17,13 +17,13 @@ topics: Personal access tokens (PATs) are an alternative to using passwords for authentication to {% data variables.product.product_name %} when using the [GitHub API](/rest/overview/other-authentication-methods#via-oauth-and-personal-access-tokens) or the [command line](#using-a-token-on-the-command-line). -{% if currentVersion == "free-pro-team@latest" %}If you want to use a PAT to access resources owned by an organization that uses SAML SSO, you must authorize the PAT. For more information, see "[About authentication with SAML single sign-on](/articles/about-authentication-with-saml-single-sign-on)" and "[Authorizing a personal access token for use with SAML single sign-on](/articles/authorizing-a-personal-access-token-for-use-with-saml-single-sign-on)."{% endif %} +{% if currentVersion == "free-pro-team@latest" %}If you want to use a PAT to access resources owned by an organization that uses SAML SSO, you must authorize the PAT. For more information, see "[About authentication with SAML single sign-on](/github/authenticating-to-github/about-authentication-with-saml-single-sign-on)" and "[Authorizing a personal access token for use with SAML single sign-on](/github/authenticating-to-github/authorizing-a-personal-access-token-for-use-with-saml-single-sign-on)."{% endif %} {% if currentVersion == "free-pro-team@latest" %}{% data reusables.user_settings.removes-personal-access-tokens %}{% endif %} ### Creating a token -{% if currentVersion == "free-pro-team@latest" %}1. [Verify your email address](/articles/verifying-your-email-address), if it hasn't been verified yet.{% endif %} +{% if currentVersion == "free-pro-team@latest" %}1. [Verify your email address](/github/getting-started-with-github/verifying-your-email-address), if it hasn't been verified yet.{% endif %} {% data reusables.user_settings.access_settings %} {% data reusables.user_settings.developer_settings %} {% data reusables.user_settings.personal_access_tokens %} @@ -47,13 +47,13 @@ Personal access tokens (PATs) are an alternative to using passwords for authenti {% else %} ![Newly created token](/assets/images/help/settings/personal_access_tokens_ghe_legacy.png) {% endif %} - {% warning %} **Warning:** Treat your tokens like passwords and keep them secret. When working with the API, use tokens as environment variables instead of hardcoding them into your programs. {% endwarning %} -{% if currentVersion == "free-pro-team@latest" %}9. To use your token to authenticate to an organization that uses SAML SSO, [authorize the token for use with a SAML single-sign-on organization](/articles/authorizing-a-personal-access-token-for-use-with-saml-single-sign-on).{% endif %} + +{% if currentVersion == "free-pro-team@latest" %}9. To use your token to authenticate to an organization that uses SAML SSO, [authorize the token for use with a SAML single-sign-on organization](/github/authenticating-to-github/authorizing-a-personal-access-token-for-use-with-saml-single-sign-on).{% endif %} ### Using a token on the command line @@ -61,7 +61,7 @@ Personal access tokens (PATs) are an alternative to using passwords for authenti Personal access tokens can only be used for HTTPS Git operations. If your repository uses an SSH remote URL, you will need to [switch the remote from SSH to HTTPS](/github/getting-started-with-github/managing-remote-repositories/#switching-remote-urls-from-ssh-to-https). -If you are not prompted for your username and password, your credentials may be cached on your computer. You can [update your credentials in the Keychain](/articles/updating-credentials-from-the-osx-keychain) to replace your old password with the token. +If you are not prompted for your username and password, your credentials may be cached on your computer. You can [update your credentials in the Keychain](/github/getting-started-with-github/updating-credentials-from-the-macos-keychain) to replace your old password with the token. ### Further reading diff --git a/content/github/authenticating-to-github/reviewing-your-security-log.md b/content/github/authenticating-to-github/reviewing-your-security-log.md index 3878011b20..93cc9cb9e0 100644 --- a/content/github/authenticating-to-github/reviewing-your-security-log.md +++ b/content/github/authenticating-to-github/reviewing-your-security-log.md @@ -186,7 +186,6 @@ An overview of some of the most common actions that are recorded as events in th | Action | Description |------------------|------------------- -| `repo_funding_link_button_toggle` | Triggered when you enable or disable a sponsor button in your repository (see "[Displaying a sponsor button in your repository](/articles/displaying-a-sponsor-button-in-your-repository)") | `repo_funding_links_file_action` | Triggered when you change the FUNDING file in your repository (see "[Displaying a sponsor button in your repository](/articles/displaying-a-sponsor-button-in-your-repository)") | `sponsor_sponsorship_cancel` | Triggered when you cancel a sponsorship (see "[Downgrading a sponsorship](/articles/downgrading-a-sponsorship)") | `sponsor_sponsorship_create` | Triggered when you sponsor an account (see "[Sponsoring an open source contributor](/github/supporting-the-open-source-community-with-github-sponsors/sponsoring-an-open-source-contributor)") @@ -194,9 +193,11 @@ An overview of some of the most common actions that are recorded as events in th | `sponsor_sponsorship_tier_change` | Triggered when you upgrade or downgrade your sponsorship (see "[Upgrading a sponsorship](/articles/upgrading-a-sponsorship)" and "[Downgrading a sponsorship](/articles/downgrading-a-sponsorship)") | `sponsored_developer_approve` | Triggered when your {% data variables.product.prodname_sponsors %} account is approved (see "[Setting up {% data variables.product.prodname_sponsors %} for your user account](/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-user-account)") | `sponsored_developer_create` | Triggered when your {% data variables.product.prodname_sponsors %} account is created (see "[Setting up {% data variables.product.prodname_sponsors %} for your user account](/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-user-account)") +| `sponsored_developer_disable` | Triggered when your {% data variables.product.prodname_sponsors %} account is disabled +| `sponsored_developer_redraft` | Triggered when your {% data variables.product.prodname_sponsors %} account is returned to draft state from approved state | `sponsored_developer_profile_update` | Triggered when you edit your sponsored developer profile (see "[Editing your profile details for {% data variables.product.prodname_sponsors %}](/github/supporting-the-open-source-community-with-github-sponsors/editing-your-profile-details-for-github-sponsors)") | `sponsored_developer_request_approval` | Triggered when you submit your application for {% data variables.product.prodname_sponsors %} for approval (see "[Setting up {% data variables.product.prodname_sponsors %} for your user account](/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-user-account)") -| `sponsored_developer_tier_description_update` | Triggered when you change the description for a sponsorship tier (see "[Changing your sponsorship tiers](/articles/changing-your-sponsorship-tiers)") +| `sponsored_developer_tier_description_update` | Triggered when you change the description for a sponsorship tier (see "[Managing your sponsorship tiers](/github/supporting-the-open-source-community-with-github-sponsors/managing-your-sponsorship-tiers)") | `sponsored_developer_update_newsletter_send` | Triggered when you send an email update to your sponsors (see "[Contacting your sponsors](/articles/contacting-your-sponsors)") | `waitlist_invite_sponsored_developer` | Triggered when you are invited to join {% data variables.product.prodname_sponsors %} from the waitlist (see "[Setting up {% data variables.product.prodname_sponsors %} for your user account](/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-user-account)") | `waitlist_join` | Triggered when you join the waitlist to become a sponsored developer (see "[Setting up {% data variables.product.prodname_sponsors %} for your user account](/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-user-account)") diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/downgrading-a-sponsorship.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/downgrading-a-sponsorship.md index 55d99d1503..0028f8f221 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/downgrading-a-sponsorship.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/downgrading-a-sponsorship.md @@ -19,15 +19,15 @@ When you downgrade or cancel a sponsorship, the change will become effective on {% data reusables.sponsors.navigate-to-sponsored-account %} {% data reusables.sponsors.sponsorship-dashboard %} +{% data reusables.sponsors.review-tiers-to-select %} {% data reusables.sponsors.select-a-tier %} {% data reusables.sponsors.update-sponsorship %} ### Canceling a sponsorship {% data reusables.user_settings.access_settings %} -{% data reusables.user_settings.billing %} +{% data reusables.user_settings.billing_plans %} {% data reusables.sponsors.billing-switcher %} -{% data reusables.user_settings.subscriptions-tab %} 3. Under "{% data variables.product.prodname_sponsors %}", to the right of the sponsored open source contributor, click {% octicon "triangle-down" aria-label="The down triangle octicon" %} next to your sponsored amount, then click **Cancel sponsorship**. ![Cancel sponsorship button](/assets/images/help/billing/edit-sponsor-billing.png) 4. Review the information about canceling your sponsorship, then click **OK**. diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/upgrading-a-sponsorship.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/upgrading-a-sponsorship.md index 71d7d250f8..1f297f7e16 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/upgrading-a-sponsorship.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/upgrading-a-sponsorship.md @@ -19,5 +19,6 @@ When you upgrade your sponsorship tier, the change will become effective immedia {% data reusables.sponsors.navigate-to-sponsored-account %} {% data reusables.sponsors.sponsorship-dashboard %} +{% data reusables.sponsors.review-tiers-to-select %} {% data reusables.sponsors.select-a-tier %} {% data reusables.sponsors.update-sponsorship %} diff --git a/content/github/site-policy/github-subprocessors-and-cookies.md b/content/github/site-policy/github-subprocessors-and-cookies.md index c36e6115d1..09fc30434b 100644 --- a/content/github/site-policy/github-subprocessors-and-cookies.md +++ b/content/github/site-policy/github-subprocessors-and-cookies.md @@ -13,7 +13,7 @@ topics: - legal --- -Effective date: **January 29, 2021** +Effective date: **April 2, 2021** GitHub provides a great deal of transparency regarding how we use your data, how we collect your data, and with whom we share your data. To that end, we provide this page, which details [our subprocessors](#github-subprocessors), and how we use [cookies](#cookies-on-github). @@ -33,7 +33,6 @@ When we share your information with third party subprocessors, such as our vendo | MailChimp | Customer ticketing mail services provider | United States | United States | | Mailgun | Transactional mail services provider | United States | United States | | Microsoft | Microsoft Services | United States | United States | -| Monday.com | Team collaboration and project management platform | United States | Israel | | Nexmo | SMS notification provider | United States | United States | | Salesforce.com | Customer relations management | United States | United States | | Sentry.io | Application monitoring provider | United States | United States | diff --git a/content/github/supporting-the-open-source-community-with-github-sponsors/about-github-sponsors-for-open-source-contributors.md b/content/github/supporting-the-open-source-community-with-github-sponsors/about-github-sponsors-for-open-source-contributors.md index 567107b3e5..5d9db83338 100644 --- a/content/github/supporting-the-open-source-community-with-github-sponsors/about-github-sponsors-for-open-source-contributors.md +++ b/content/github/supporting-the-open-source-community-with-github-sponsors/about-github-sponsors-for-open-source-contributors.md @@ -24,7 +24,9 @@ You can set a goal for your sponsorships. For more information, see "[Managing y ### Sponsorship tiers -{% data reusables.sponsors.tier-details %} For more information, see "[Setting up {% data variables.product.prodname_sponsors %} for your user account](/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-user-account)," "[Setting up {% data variables.product.prodname_sponsors %} for your organization](/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-organization), and "[Changing your sponsorship tiers](/articles/changing-your-sponsorship-tiers)." +{% data reusables.sponsors.tier-details %} For more information, see "[Setting up {% data variables.product.prodname_sponsors %} for your user account](/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-user-account)," "[Setting up {% data variables.product.prodname_sponsors %} for your organization](/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-organization), and "[Managing your sponsorship tiers](/github/supporting-the-open-source-community-with-github-sponsors/managing-your-sponsorship-tiers)." + +It's best to set up a range of different sponsorship options, including monthly and one-time tiers, to make it easy for anyone to support your work. In particular, one-time payments allow people to reward your efforts without worrying about whether their finances will support a regular payment schedule. ### Sponsorship payouts @@ -34,5 +36,9 @@ You can set a goal for your sponsorships. For more information, see "[Managing y For more information, see "[Managing your payouts from {% data variables.product.prodname_sponsors %}](/github/supporting-the-open-source-community-with-github-sponsors/managing-your-payouts-from-github-sponsors)." +### Sharing feedback about {% data variables.product.prodname_sponsors %} + +{% data reusables.sponsors.feedback %} + ### Further reading - "[FAQ with the {% data variables.product.prodname_sponsors %} team](https://github.blog/2019-06-12-faq-with-the-github-sponsors-team/)" on {% data variables.product.prodname_blog %} diff --git a/content/github/supporting-the-open-source-community-with-github-sponsors/about-github-sponsors.md b/content/github/supporting-the-open-source-community-with-github-sponsors/about-github-sponsors.md index 0169550a2d..a93f6df83a 100644 --- a/content/github/supporting-the-open-source-community-with-github-sponsors/about-github-sponsors.md +++ b/content/github/supporting-the-open-source-community-with-github-sponsors/about-github-sponsors.md @@ -37,7 +37,7 @@ To be eligible for the {% data variables.product.prodname_matching_fund %}, you ### Sharing feedback about {% data variables.product.prodname_sponsors %} -This is just the beginning — we'd love your input to make sure {% data variables.product.prodname_sponsors %} serves your needs into the future. Please send us your feedback or suggestions by contacting [{% data variables.contact.github_support %}](https://support.github.com/contact?form%5Bsubject%5D=GitHub+Sponsors). +{% data reusables.sponsors.feedback %} ### Further reading - "[Sponsoring open source contributors](/github/supporting-the-open-source-community-with-github-sponsors/sponsoring-open-source-contributors)" diff --git a/content/github/supporting-the-open-source-community-with-github-sponsors/contacting-your-sponsors.md b/content/github/supporting-the-open-source-community-with-github-sponsors/contacting-your-sponsors.md index 5b8efe069c..de523d754e 100644 --- a/content/github/supporting-the-open-source-community-with-github-sponsors/contacting-your-sponsors.md +++ b/content/github/supporting-the-open-source-community-with-github-sponsors/contacting-your-sponsors.md @@ -15,6 +15,8 @@ Your sponsors can choose whether they receive email updates about your work. For For sponsored developer accounts, the update will come from your user account's primary email address. If you've enabled email address privacy on your user account, the update will come from `noreply@github.com` instead. For sponsored organizations, the update will come from the organization's `noreply@github.com` email address. For more information, see "[Setting your commit email address](/articles/setting-your-commit-email-address)." +You can also contact any one-time sponsors who contributed within the last 30 days and enabled updates. + ### Contacting your sponsors {% data reusables.sponsors.navigate-to-sponsors-dashboard %} diff --git a/content/github/supporting-the-open-source-community-with-github-sponsors/index.md b/content/github/supporting-the-open-source-community-with-github-sponsors/index.md index 6623eceb6b..39d60b8feb 100644 --- a/content/github/supporting-the-open-source-community-with-github-sponsors/index.md +++ b/content/github/supporting-the-open-source-community-with-github-sponsors/index.md @@ -25,7 +25,7 @@ topics: {% link_in_list /setting-up-github-sponsors-for-your-organization %} {% link_in_list /editing-your-profile-details-for-github-sponsors %} {% link_in_list /managing-your-sponsorship-goal %} - {% link_in_list /changing-your-sponsorship-tiers %} + {% link_in_list /managing-your-sponsorship-tiers %} {% link_in_list /viewing-your-sponsors-and-sponsorships %} {% link_in_list /managing-your-payouts-from-github-sponsors %} {% link_in_list /configuring-webhooks-for-events-in-your-sponsored-account %} diff --git a/content/github/supporting-the-open-source-community-with-github-sponsors/managing-your-sponsorship-goal.md b/content/github/supporting-the-open-source-community-with-github-sponsors/managing-your-sponsorship-goal.md index 1d9a6e18e3..9991858a58 100644 --- a/content/github/supporting-the-open-source-community-with-github-sponsors/managing-your-sponsorship-goal.md +++ b/content/github/supporting-the-open-source-community-with-github-sponsors/managing-your-sponsorship-goal.md @@ -13,6 +13,12 @@ You can set a funding goal for your sponsored account and share the goal with yo Your goal can set a target for the number of sponsors you want to have or the amount of money you want to earn each month. You can only set one goal up at a time. After you reach a goal, you can set another goal. +{% note %} + +**Note:** Goals are intended to help people track momentum so only monthly sponsors contribute toward your goal. + +{% endnote %} + ### Setting a goal {% data reusables.sponsors.navigate-to-sponsors-dashboard %} diff --git a/content/github/supporting-the-open-source-community-with-github-sponsors/changing-your-sponsorship-tiers.md b/content/github/supporting-the-open-source-community-with-github-sponsors/managing-your-sponsorship-tiers.md similarity index 62% rename from content/github/supporting-the-open-source-community-with-github-sponsors/changing-your-sponsorship-tiers.md rename to content/github/supporting-the-open-source-community-with-github-sponsors/managing-your-sponsorship-tiers.md index f6d6dc0bd7..efb3ada4b5 100644 --- a/content/github/supporting-the-open-source-community-with-github-sponsors/changing-your-sponsorship-tiers.md +++ b/content/github/supporting-the-open-source-community-with-github-sponsors/managing-your-sponsorship-tiers.md @@ -1,8 +1,9 @@ --- -title: Changing your sponsorship tiers +title: Managing your sponsorship tiers intro: 'You can add a new sponsorship tier, or edit or retire an existing tier.' redirect_from: - /articles/changing-your-sponsorship-tiers + - /github/supporting-the-open-source-community-with-github-sponsors/changing-your-sponsorship-tiers versions: free-pro-team: '*' topics: @@ -32,3 +33,13 @@ topics: {% data reusables.sponsors.tier-price-description %} {% data reusables.sponsors.tier-update %} {% data reusables.sponsors.retire-tier %} + +### Enabling tiers with custom amounts + +{% data reusables.sponsors.navigate-to-sponsors-dashboard %} +{% data reusables.sponsors.navigate-to-sponsor-tiers-tab %} +{% data reusables.sponsors.enable-custom-amounts %} + +### Disabling tiers with custom amounts + +You can disable tiers with custom amounts by deselecting the **Enable custom amounts** option on the **Sponsor tiers** tab. If you disable custom amounts, all custom tiers are retired. diff --git a/content/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-organization.md b/content/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-organization.md index 5a7e674121..a73b66dc54 100644 --- a/content/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-organization.md +++ b/content/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-organization.md @@ -48,6 +48,7 @@ To join {% data variables.product.prodname_sponsors %} as an individual contribu {% data reusables.sponsors.tier-price-description %} {% data reusables.sponsors.save-tier-draft %} {% data reusables.sponsors.review-and-publish-tier %} +{% data reusables.sponsors.enable-custom-amounts %} {% data reusables.sponsors.add-more-tiers %} ### Submitting your bank information diff --git a/content/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-user-account.md b/content/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-user-account.md index 6104ee4c03..b42f036470 100644 --- a/content/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-user-account.md +++ b/content/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-user-account.md @@ -48,6 +48,7 @@ After {% data variables.product.prodname_dotcom %} reviews your application, you {% data reusables.sponsors.tier-price-description %} {% data reusables.sponsors.save-tier-draft %} {% data reusables.sponsors.review-and-publish-tier %} +{% data reusables.sponsors.enable-custom-amounts %} {% data reusables.sponsors.add-more-tiers %} ### Submitting your bank information diff --git a/content/github/supporting-the-open-source-community-with-github-sponsors/sponsoring-an-open-source-contributor.md b/content/github/supporting-the-open-source-community-with-github-sponsors/sponsoring-an-open-source-contributor.md index c09ee905fb..aa7befca82 100644 --- a/content/github/supporting-the-open-source-community-with-github-sponsors/sponsoring-an-open-source-contributor.md +++ b/content/github/supporting-the-open-source-community-with-github-sponsors/sponsoring-an-open-source-contributor.md @@ -1,6 +1,6 @@ --- title: Sponsoring an open source contributor -intro: 'You can make a monthly recurring payment to a developer or organization who designs, creates, or maintains open source projects you depend on.' +intro: 'You can make a one-time or monthly recurring payment to a developer or organization who designs, creates, or maintains open source projects you depend on.' redirect_from: - /articles/sponsoring-a-developer - /articles/sponsoring-an-open-source-contributor @@ -24,11 +24,11 @@ You can sponsor an account on behalf of your user account to invest in projects - Developing brand awareness as an organization that values open source - Thanking open source developers for building libraries that complement the product your organization offers -You can use a credit card to sponsor an account on {% data variables.product.product_name %}. If your organization wants to pay by invoice, [contact us](https://support.github.com/contact/org-sponsors-waitlist). +You use your normal payment method to sponsor an account on {% data variables.product.product_name %}. If your organization wants to pay by invoice, [contact us](https://support.github.com/contact/org-sponsors-waitlist). {% data reusables.sponsors.no-fees %} For more information, see "[About billing for {% data variables.product.prodname_sponsors %}](/articles/about-billing-for-github-sponsors)." -When you sponsor an account using a credit card, the change will become effective immediately. {% data reusables.sponsors.prorated-sponsorship %} +When you sponsor an account the change is effective immediately, unless you are sponsoring on behalf of an organization that pays by invoice. {% data reusables.sponsors.prorated-sponsorship %} Your sponsorship is included in the next scheduled payment to the sponsored account. {% data reusables.sponsors.manage-updates-for-orgs %} @@ -56,6 +56,7 @@ Before you can sponsor an account, you must have a verified email address. For m ![Sponsor button](/assets/images/help/sponsors/sponsor-org-button.png) 1. Optionally, on the right side of the page, to sponsor the account on behalf of your organization, use the **Sponsor as** drop-down menu, and click the organization. ![Drop-down menu to choose the account you'll sponsor as](/assets/images/help/sponsors/sponsor-as-drop-down-menu.png) +{% data reusables.sponsors.review-tiers-to-select %} {% data reusables.sponsors.select-a-tier %} {% data reusables.sponsors.pay-prorated-amount %} {% data reusables.sponsors.select-sponsorship-billing %} diff --git a/content/organizations/keeping-your-organization-secure/reviewing-the-audit-log-for-your-organization.md b/content/organizations/keeping-your-organization-secure/reviewing-the-audit-log-for-your-organization.md index 960beced2f..c428a012be 100644 --- a/content/organizations/keeping-your-organization-secure/reviewing-the-audit-log-for-your-organization.md +++ b/content/organizations/keeping-your-organization-secure/reviewing-the-audit-log-for-your-organization.md @@ -593,7 +593,6 @@ For more information, see "[Managing the publication of {% data variables.produc | Action | Description |------------------|------------------- -| `repo_funding_link_button_toggle` | Triggered when you enable or disable a sponsor button in your repository (see "[Displaying a sponsor button in your repository](/articles/displaying-a-sponsor-button-in-your-repository)") | `repo_funding_links_file_action` | Triggered when you change the FUNDING file in your repository (see "[Displaying a sponsor button in your repository](/articles/displaying-a-sponsor-button-in-your-repository)") | `sponsor_sponsorship_cancel` | Triggered when you cancel a sponsorship (see "[Downgrading a sponsorship](/articles/downgrading-a-sponsorship)") | `sponsor_sponsorship_create` | Triggered when you sponsor an account (see "[Sponsoring an open source contributor](/github/supporting-the-open-source-community-with-github-sponsors/sponsoring-an-open-source-contributor)") @@ -601,10 +600,12 @@ For more information, see "[Managing the publication of {% data variables.produc | `sponsor_sponsorship_tier_change` | Triggered when you upgrade or downgrade your sponsorship (see "[Upgrading a sponsorship](/articles/upgrading-a-sponsorship)" and "[Downgrading a sponsorship](/articles/downgrading-a-sponsorship)") | `sponsored_developer_approve` | Triggered when your {% data variables.product.prodname_sponsors %} account is approved (see "[Setting up {% data variables.product.prodname_sponsors %} for your organization](/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-organization)") | `sponsored_developer_create` | Triggered when your {% data variables.product.prodname_sponsors %} account is created (see "[Setting up {% data variables.product.prodname_sponsors %} for your organization](/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-organization)") +| `sponsored_developer_disable` | Triggered when your {% data variables.product.prodname_sponsors %} account is disabled +| `sponsored_developer_redraft` | Triggered when your {% data variables.product.prodname_sponsors %} account is returned to draft state from approved state | `sponsored_developer_profile_update` | Triggered when you edit your sponsored organization profile (see "[Editing your profile details for {% data variables.product.prodname_sponsors %}](/github/supporting-the-open-source-community-with-github-sponsors/editing-your-profile-details-for-github-sponsors)") | `sponsored_developer_request_approval` | Triggered when you submit your application for {% data variables.product.prodname_sponsors %} for approval (see "[Setting up {% data variables.product.prodname_sponsors %} for your organization](/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-organization)") -| `sponsored_developer_tier_description_update` | Triggered when you change the description for a sponsorship tier (see "[Changing your sponsorship tiers](/articles/changing-your-sponsorship-tiers)") -| sponsored_developer_update_newsletter_send | Triggered when you send an email update to your sponsors (see "[Contacting your sponsors](/articles/contacting-your-sponsors)") +| `sponsored_developer_tier_description_update` | Triggered when you change the description for a sponsorship tier (see "[Managing your sponsorship tiers](/github/supporting-the-open-source-community-with-github-sponsors/managing-your-sponsorship-tiers)") +| `sponsored_developer_update_newsletter_send` | Triggered when you send an email update to your sponsors (see "[Contacting your sponsors](/articles/contacting-your-sponsors)") | `waitlist_invite_sponsored_developer` | Triggered when you are invited to join {% data variables.product.prodname_sponsors %} from the waitlist (see "[Setting up {% data variables.product.prodname_sponsors %} for your organization](/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-organization)") | `waitlist_join` | Triggered when you join the waitlist to become a sponsored organization (see "[Setting up {% data variables.product.prodname_sponsors %} for your organization](/github/supporting-the-open-source-community-with-github-sponsors/setting-up-github-sponsors-for-your-organization)") {% endif %} diff --git a/content/organizations/managing-peoples-access-to-your-organization-with-roles/maintaining-ownership-continuity-for-your-organization.md b/content/organizations/managing-peoples-access-to-your-organization-with-roles/maintaining-ownership-continuity-for-your-organization.md index 9b2edcdcd9..870912c1b6 100644 --- a/content/organizations/managing-peoples-access-to-your-organization-with-roles/maintaining-ownership-continuity-for-your-organization.md +++ b/content/organizations/managing-peoples-access-to-your-organization-with-roles/maintaining-ownership-continuity-for-your-organization.md @@ -6,6 +6,7 @@ redirect_from: - /articles/changing-a-persons-role-to-owner - /github/setting-up-and-managing-organizations-and-teams/changing-a-persons-role-to-owner - /github/setting-up-and-managing-organizations-and-teams/managing-ownership-continuity-for-your-organization + - /github/setting-up-and-managing-organizations-and-teams/maintaining-ownership-continuity-for-your-organization permissions: Organization owners can promote any member of an organization to an organization owner. versions: free-pro-team: '*' diff --git a/content/packages/index.md b/content/packages/index.md index 14afebfca8..56deb1e548 100644 --- a/content/packages/index.md +++ b/content/packages/index.md @@ -20,15 +20,8 @@ featuredLinks: - /packages/guides/enabling-improved-container-support - /packages/guides/configuring-rubygems-for-use-with-github-packages changelog: - - title: ghcr.io maintenance mode on 2021-01-09 - date: '2021-01-08' - href: https://github.blog/changelog/2021-01-08-packages-ghcr-io-maintenance-mode-on-2021-01-09/ - - title: ghcr.io container names redirect to the container page - date: '2020-12-14' - href: https://github.blog/changelog/2020-12-14-ghcr-io-container-names-redirect-to-the-container-page/ - - title: Filter for tagged and untagged containers - date: '2020-12-14' - href: https://github.blog/changelog/2020-12-14-packages-can-filter-for-tagged-and-untagged-containers/ + label: 'packages' + prefix: 'Packages: ' redirect_from: - /github/managing-packages-with-github-packages - /categories/managing-packages-with-github-package-registry diff --git a/content/pages/configuring-a-custom-domain-for-your-github-pages-site/about-custom-domains-and-github-pages.md b/content/pages/configuring-a-custom-domain-for-your-github-pages-site/about-custom-domains-and-github-pages.md index 72af61cf64..d2fb0c014b 100644 --- a/content/pages/configuring-a-custom-domain-for-your-github-pages-site/about-custom-domains-and-github-pages.md +++ b/content/pages/configuring-a-custom-domain-for-your-github-pages-site/about-custom-domains-and-github-pages.md @@ -24,7 +24,9 @@ topics: | Custom subdomain | `blog.example.com` | | Apex domain | `example.com` | -You can set up either or both types of custom domains for your site. We recommend always using a `www` subdomain, even if you also use an apex domain. For more information, see "[Using an apex domain for your {% data variables.product.prodname_pages %} site](#using-an-apex-domain-for-your-github-pages-site)." +You can set up either or both of apex and `www` subdomain configurations for your site. For more information on apex domains, see "[Using an apex domain for your {% data variables.product.prodname_pages %} site](#using-an-apex-domain-for-your-github-pages-site)." + +We recommend always using a `www` subdomain, even if you also use an apex domain. When you create a new site with an apex domain, we automatically attempt to secure the `www` subdomain for use when serving your site's content. If you configure a `www` subdomain, we automatically attempt to secure the associated apex domain. For more information, see "[Managing a custom domain for your {% data variables.product.prodname_pages %} site](/articles/managing-a-custom-domain-for-your-github-pages-site)." After you configure a custom domain for a user or organization site, the custom domain will replace the `.github.io` or `.github.io` portion of the URL for any project sites owned by the account that do not have a custom domain configured. For example, if the custom domain for your user site is `www.octocat.com`, and you have a project site with no custom domain configured that is published from a repository called `octo-project`, the {% data variables.product.prodname_pages %} site for that repository will be available at `www.octocat.com/octo-project`. @@ -38,11 +40,11 @@ Subdomains are configured with a `CNAME` record through your DNS provider. For m A `www` subdomain is the most commonly used type of subdomain. For example, `www.example.com` includes a `www` subdomain. -`www` subdomains are the most stable type of custom domain because `www` subdomains are not affected by changes to the IP addresses of {% data variables.product.product_name %}'s servers. Your site will also load faster because Denial of Service (DoS) attack protection can be implemented more efficiently. +`www` subdomains are the most stable type of custom domain because `www` subdomains are not affected by changes to the IP addresses of {% data variables.product.product_name %}'s servers. #### Custom subdomains -A custom subdomain is a type of subdomain that doesn't use the standard `www` subdomain. Custom subdomains are mostly used when you want two distinct sections of your site. For example, you can create a site called `blog.example.com` and customize that section independently from `www.example.com`. +A custom subdomain is a type of subdomain that doesn't use the standard `www` variant. Custom subdomains are mostly used when you want two distinct sections of your site. For example, you can create a site called `blog.example.com` and customize that section independently from `www.example.com`. ### Using an apex domain for your {% data variables.product.prodname_pages %} site diff --git a/content/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site.md b/content/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site.md index ca377939ad..e2410b488a 100644 --- a/content/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site.md +++ b/content/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site.md @@ -42,6 +42,7 @@ To set up a `www` or custom subdomain, such as `www.example.com` or `blog.exampl {% data reusables.pages.navigate-site-repo %} {% data reusables.repositories.sidebar-settings %} +{% data reusables.pages.sidebar-pages %} 4. Under "Custom domain", type your custom domain, then click **Save**. This will create a commit that adds a _CNAME_ file in the root of your publishing source. ![Save custom domain button](/assets/images/help/pages/save-custom-subdomain.png) 5. Navigate to your DNS provider and create a `CNAME` record that points your subdomain to the default domain for your site. For example, if you want to use the subdomain `www.example.com` for your user site, create a `CNAME` record that points `www.example.com` to `.github.io`. If you want to use the subdomain `www.anotherexample.com` for your organization site, create a `CNAME` record that points `www.anotherexample.com` to `.github.io`. The `CNAME` record should always point to `.github.io` or `.github.io`, excluding the repository name. {% data reusables.pages.contact-dns-provider %} {% data reusables.pages.default-domain-information %} @@ -67,6 +68,7 @@ To set up an apex domain, such as `example.com`, you must configure a _CNAME_ fi {% data reusables.pages.navigate-site-repo %} {% data reusables.repositories.sidebar-settings %} +{% data reusables.pages.sidebar-pages %} 4. Under "Custom domain", type your custom domain, then click **Save**. This will create a commit that adds a _CNAME_ file in the root of your publishing source. ![Save custom domain button](/assets/images/help/pages/save-custom-apex-domain.png) 5. Navigate to your DNS provider and create either an `ALIAS`, `ANAME`, or `A` record. {% data reusables.pages.contact-dns-provider %} @@ -92,6 +94,31 @@ To set up an apex domain, such as `example.com`, you must configure a _CNAME_ fi {% data reusables.pages.build-locally-download-cname %} {% data reusables.pages.enforce-https-custom-domain %} +### Configuring an apex domain and the `www` subdomain variant + +When using an apex domain, we recommend configuring your {% data variables.product.prodname_pages %} site to host content at both the apex domain and that domain's `www` subdomain variant. + +To set up a `www` subdomain alongside the apex domain, you must first configure an apex domain, which will create an `ALIAS`, `ANAME`, or `A` record with your DNS provider. For more information, see "[Configuring an apex domain](#configuring-an-apex-domain)." + +After you configure the apex domain, you must to configure a CNAME record with your DNS provider. + +1. Navigate to your DNS provider and create a `CNAME` record that points `www.example.com` to the default domain for your site: `.github.io` or `.github.io`. Do not include the repository name. {% data reusables.pages.contact-dns-provider %} {% data reusables.pages.default-domain-information %} +2. To confirm that your DNS record configured correctly, use the `dig` command, replacing _WWW.EXAMPLE.COM_ with your `www` subdomain variant. +```shell + $ dig WWW.EXAMPLE.COM +nostats +nocomments +nocmd + > ;WWW.EXAMPLE.COM. IN A + > WWW.EXAMPLE.COM. 3592 IN CNAME YOUR-USERNAME.github.io. + > YOUR-USERNAME.github.io. 43192 IN CNAME GITHUB-PAGES-SERVER . + > GITHUB-PAGES-SERVER . 22 IN A 192.0.2.1 +``` +### Removing a custom domain + +{% data reusables.pages.navigate-site-repo %} +{% data reusables.repositories.sidebar-settings %} +{% data reusables.pages.sidebar-pages %} +4. Under "Custom domain," click **Remove**. + ![Save custom domain button](/assets/images/help/pages/remove-custom-domain.png) + ### Further reading - "[Troubleshooting custom domains and {% data variables.product.prodname_pages %}](/articles/troubleshooting-custom-domains-and-github-pages)" diff --git a/content/pages/getting-started-with-github-pages/adding-a-theme-to-your-github-pages-site-with-the-theme-chooser.md b/content/pages/getting-started-with-github-pages/adding-a-theme-to-your-github-pages-site-with-the-theme-chooser.md index 6bead340fa..a80468d753 100644 --- a/content/pages/getting-started-with-github-pages/adding-a-theme-to-your-github-pages-site-with-the-theme-chooser.md +++ b/content/pages/getting-started-with-github-pages/adding-a-theme-to-your-github-pages-site-with-the-theme-chooser.md @@ -32,6 +32,7 @@ If you manually added a Jekyll theme to your repository in the past, those files {% data reusables.pages.navigate-site-repo %} {% data reusables.repositories.sidebar-settings %} +{% data reusables.pages.sidebar-pages %} 3. Under "{% data variables.product.prodname_pages %}," click **Choose a theme** or **Change theme**. ![Choose a theme button](/assets/images/help/pages/choose-a-theme.png) 4. On the top of the page, click the theme you want, then click **Select theme**. diff --git a/content/pages/getting-started-with-github-pages/changing-the-visibility-of-your-github-pages-site.md b/content/pages/getting-started-with-github-pages/changing-the-visibility-of-your-github-pages-site.md index 8c35632340..c7197c7934 100644 --- a/content/pages/getting-started-with-github-pages/changing-the-visibility-of-your-github-pages-site.md +++ b/content/pages/getting-started-with-github-pages/changing-the-visibility-of-your-github-pages-site.md @@ -11,7 +11,7 @@ redirect_from: ### About access control for {% data variables.product.prodname_pages %} sites -If your project site is published from a private or internal repository that's owned by an organization using {% data variables.product.prodname_ghe_cloud %}, you can manage access control for the site. With access control, you can choose to publish the site publicly to anyone on the internet or privately to people with read access to your repository. A privately published site can be used to share your internal documentation or knowledge base with members of your enterprise. You cannot manage access control for an organization site. For more information about the types of {% data variables.product.prodname_pages %} sites, see "[About {% data variables.product.prodname_pages %}](/pages/getting-started-with-github-pages/about-github-pages#types-of-github-pages-sites)." +If your project site is published from a private or internal repository that's owned by an organization using {% data variables.product.prodname_ghe_cloud %}, you can manage access control for the site. With access control, you can choose to publish the site publicly to anyone on the internet or privately to people with read access to your repository. A privately published site can be used to share your internal documentation or knowledge base with members of your enterprise. You cannot manage access control for an organization site. For more information about the types of {% data variables.product.prodname_pages %} sites, see "[About {% data variables.product.prodname_pages %}](/pages/getting-started-with-github-pages/about-github-pages#types-of-github-pages-sites)." Privately published sites are available at a different subdomain than publicly published sites. This ensures that your {% data variables.product.prodname_pages %} site is secure from the moment it's published: @@ -26,6 +26,7 @@ To use a shorter and more memorable domain for your private {% data variables.pr {% data reusables.pages.navigate-site-repo %} {% data reusables.repositories.sidebar-settings %} +{% data reusables.pages.sidebar-pages %} 3. Under "{% data variables.product.prodname_pages %}", select the **{% data variables.product.prodname_pages %} visibility** drop-down menu, then click a visibility. ![Drop-down to choose a visibility for your site](/assets/images/help/pages/public-or-private-visibility.png) 4. To see your published site, under "{% data variables.product.prodname_pages %}", click your site's URL. diff --git a/content/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site.md b/content/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site.md index 025a47ca71..290fb96e49 100644 --- a/content/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site.md +++ b/content/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site.md @@ -1,6 +1,6 @@ --- title: Configuring a publishing source for your GitHub Pages site -intro: 'If you use the default publishing source for your {% data variables.product.prodname_pages %} site, your site will publish automatically. You can also choose to publish your{% if currentVersion ver_lt "enterprise-server@2.23" %} project{% endif %} site from a different branch or folder.' +intro: 'If you use the default publishing source for your {% data variables.product.prodname_pages %} site, your site will publish automatically. You can also choose to publish your{% if currentVersion ver_lt "enterprise-server@3.0" %} project{% endif %} site from a different branch or folder.' redirect_from: - /articles/configuring-a-publishing-source-for-github-pages/ - /articles/configuring-a-publishing-source-for-your-github-pages-site @@ -19,18 +19,18 @@ For more information about publishing sources, see "[About {% data variables.pro ### Choosing a publishing source -Before you configure a publishing source, make sure the branch{% if currentVersion ver_lt "enterprise-server@2.23" %} or folder{% endif %} you want to use as your publishing source already exists in your repository.{% if currentVersion ver_lt "enterprise-server@2.23" %} For example, before you can publish your project site from the `/docs` folder on the `master` branch of your repository, you or a collaborator must create a `/docs` folder on the default `master` branch of your repository.{% endif %} +Before you configure a publishing source, make sure the branch{% if currentVersion ver_lt "enterprise-server@3.0" %} or folder{% endif %} you want to use as your publishing source already exists in your repository.{% if currentVersion ver_lt "enterprise-server@3.0" %} For example, before you can publish your project site from the `/docs` folder on the `master` branch of your repository, you or a collaborator must create a `/docs` folder on the default `master` branch of your repository.{% endif %} {% data reusables.pages.navigate-site-repo %} {% data reusables.repositories.sidebar-settings %} +{% data reusables.pages.sidebar-pages %} {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.22" or currentVersion == "github-ae@latest" %} 3. Under "{% data variables.product.prodname_pages %}", use the **None** or **Branch** drop-down menu and select a publishing source. ![Drop-down menu to select a publishing source](/assets/images/help/pages/publishing-source-drop-down.png) 4. Optionally, use the drop-down menu to select a folder for your publishing source. ![Drop-down menu to select a folder for publishing source](/assets/images/help/pages/publishing-source-folder-drop-down.png) 5. Click **Save**. - ![Button to save changes to publishing source settings](/assets/images/help/pages/publishing-source-save.png) - {% else %} + ![Button to save changes to publishing source settings](/assets/images/help/pages/publishing-source-save.png){% else %} 3. Under "{% data variables.product.prodname_pages %}", use the **Source** drop-down menu and select a publishing source. ![Drop down menu to select a publishing source](/assets/images/help/pages/publishing-source-drop-down.png) {% endif %} diff --git a/content/pages/getting-started-with-github-pages/creating-a-github-pages-site.md b/content/pages/getting-started-with-github-pages/creating-a-github-pages-site.md index b73695c897..210304bba0 100644 --- a/content/pages/getting-started-with-github-pages/creating-a-github-pages-site.md +++ b/content/pages/getting-started-with-github-pages/creating-a-github-pages-site.md @@ -41,7 +41,8 @@ topics: 3. If your chosen publishing source already exists, navigate to the publishing source. If your chosen publishing source doesn't exist, create the publishing source. 4. In the root of the publishing source, create a new file called `index.md` that contains the content you want to display on the main page of your site. {% data reusables.pages.configure-publishing-source %} -{% data reusables.repositories.sidebar-settings %}{% if currentVersion == "free-pro-team@latest" %} +{% data reusables.repositories.sidebar-settings %} +{% data reusables.pages.sidebar-pages %}{% if currentVersion == "free-pro-team@latest" %} {% data reusables.pages.choose-visibility %}{% endif %} {% data reusables.pages.visit-site %} diff --git a/content/pages/getting-started-with-github-pages/securing-your-github-pages-site-with-https.md b/content/pages/getting-started-with-github-pages/securing-your-github-pages-site-with-https.md index d2f76f0be5..fb2b49901e 100644 --- a/content/pages/getting-started-with-github-pages/securing-your-github-pages-site-with-https.md +++ b/content/pages/getting-started-with-github-pages/securing-your-github-pages-site-with-https.md @@ -17,8 +17,6 @@ People with admin permissions for a repository can enforce HTTPS for a {% data v All {% data variables.product.prodname_pages %} sites, including sites that are correctly configured with a custom domain, support HTTPS and HTTPS enforcement. For more information about custom domains, see "[About custom domains and {% data variables.product.prodname_pages %}](/articles/about-custom-domains-and-github-pages)" and "[Troubleshooting custom domains and {% data variables.product.prodname_pages %}](/articles/troubleshooting-custom-domains-and-github-pages#https-errors)." -HTTPS enforcement is required for {% data variables.product.prodname_pages %} sites using a `github.io` domain that were created after June 15, 2016. If you created your site before June 15, 2016, you can manually enable HTTPS enforcement. - {% data reusables.pages.no_sensitive_data_pages %} {% data reusables.pages.private_pages_are_public_warning %} @@ -27,6 +25,7 @@ HTTPS enforcement is required for {% data variables.product.prodname_pages %} si {% data reusables.pages.navigate-site-repo %} {% data reusables.repositories.sidebar-settings %} +{% data reusables.pages.sidebar-pages %} 3. Under "{% data variables.product.prodname_pages %}," select **Enforce HTTPS**. ![Enforce HTTPS checkbox](/assets/images/help/pages/enforce-https-checkbox.png) diff --git a/content/pages/getting-started-with-github-pages/unpublishing-a-github-pages-site.md b/content/pages/getting-started-with-github-pages/unpublishing-a-github-pages-site.md index a0c25eb0fc..496dbe75f9 100644 --- a/content/pages/getting-started-with-github-pages/unpublishing-a-github-pages-site.md +++ b/content/pages/getting-started-with-github-pages/unpublishing-a-github-pages-site.md @@ -24,6 +24,7 @@ topics: 2. If a `gh-pages` branch exists in the repository, delete the `gh-pages` branch. For more information, see "[Creating and deleting branches within your repository](/articles/creating-and-deleting-branches-within-your-repository#deleting-a-branch)." 3. If the `gh-pages` branch was your publishing source, {% if currentVersion == "free-pro-team@latest" %}skip to step 6{% else %}your site is now unpublished and you can skip the remaining steps{% endif %}. {% data reusables.repositories.sidebar-settings %} +{% data reusables.pages.sidebar-pages %} 5. Under "{% data variables.product.prodname_pages %}", use the **Source** drop-down menu and select **None.** ![Drop down menu to select a publishing source](/assets/images/help/pages/publishing-source-drop-down.png) {% data reusables.pages.update_your_dns_settings %} diff --git a/content/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll.md b/content/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll.md index 7a6e565e4f..b42ed0a38c 100644 --- a/content/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll.md +++ b/content/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll.md @@ -101,7 +101,9 @@ $ git remote add origin https://HOSTNAME/USER/REPOSITORY
    - {% for link in page.changelog %} + {% for link in whatsNewChangelog %}
  • - +

    {{ link.title }}

    announced previously, the format of GitHub authentication tokens has changed. The following token types are affected:

    + +

    If you use any of these tokens, we encourage you to reset them now. This will give you additional security benefits and allow Secret Scanning to detect the tokens.

    +

    Notably, the token formats now include the following updates:

    +
      +
    • The character set changed from [a-f0-9] to [A-Za-z0-9_]
    • +
    • The format now includes a prefix for each token type: +
        +
      • ghp_ for Personal Access Tokens
      • +
      • gho_ for OAuth Access tokens
      • +
      • ghu_ for GitHub App user-to-server tokens
      • +
      • ghs_ for GitHub App server-to-server tokens
      • +
      • ghr_ for GitHub App refresh tokens
      • +
      +
    • +
    +

    The length of our tokens is remaining the same for now. However, GitHub tokens will likely increase in length in future updates, so integrators should plan to support tokens up to 255 characters after June 1, 2021.

    +]]> + + + + 57117 + + Compare REST API now supports pagination + https://github.blog/changelog/2021-03-22-compare-rest-api-now-supports-pagination + + + Tue, 23 Mar 2021 02:49:54 +0000 + https://github.blog/changelog/2021-03-22-compare-rest-api-now-supports-pagination + + + The "Compare two commits" REST API, which returns a list of commits reachable from one commit (or branch) but not reachable from another, now supports pagination. It can also now return the results for comparisons over 250 commits.

    +

    To learn more, see the compare two commits API reference or the guide for using pagination.

    +]]>
    + + + + 56979
    + + GitHub Discussions GraphQL API public beta + https://github.blog/changelog/2021-02-23-github-discussions-graphql-api-public-beta + + + Tue, 23 Feb 2021 18:21:40 +0000 + https://github.blog/changelog/2021-02-23-github-discussions-graphql-api-public-beta + + + The GitHub Discussions GraphQL API public beta is now available. Get started with the GitHub Discussions API.

    +

    For questions or feedback, visit GitHub Discussions feedback.

    +]]>
    + + + + 56364
    + + \ No newline at end of file diff --git a/tests/rendering/events.js b/tests/rendering/events.js index 407a89a907..df40ddfba3 100644 --- a/tests/rendering/events.js +++ b/tests/rendering/events.js @@ -74,7 +74,7 @@ describe('POST /events', () => { const pageExample = { ...baseExample, type: 'page' } it('should record a page event', () => - checkEvent(pageExample, 201) + checkEvent(pageExample, 200) ) it('should require a type', () => @@ -128,7 +128,7 @@ describe('POST /events', () => { ...pageExample.context, page_event_id: baseExample.context.event_id } - }, 201) + }, 200) ) it('should not allow a honeypot token', () => @@ -201,7 +201,7 @@ describe('POST /events', () => { }, 400) ) - it('should a valid os option', () => + it('should os a valid os option', () => checkEvent({ ...pageExample, context: { @@ -295,7 +295,7 @@ describe('POST /events', () => { } it('should record an exit event', () => - checkEvent(exitExample, 201) + checkEvent(exitExample, 200) ) it('should exit_render_duration is a positive number', () => @@ -330,7 +330,7 @@ describe('POST /events', () => { } it('should send a link event', () => - checkEvent(linkExample, 201) + checkEvent(linkExample, 200) ) it('link_url is a required uri formatted string', () => @@ -347,7 +347,7 @@ describe('POST /events', () => { } it('should record a search event', () => - checkEvent(searchExample, 201) + checkEvent(searchExample, 200) ) it('search_query is required string', () => @@ -355,7 +355,7 @@ describe('POST /events', () => { ) it('search_context is optional string', () => - checkEvent({ ...searchExample, search_context: undefined }, 201) + checkEvent({ ...searchExample, search_context: undefined }, 200) ) }) @@ -367,11 +367,11 @@ describe('POST /events', () => { } it('should record a navigate event', () => - checkEvent(navigateExample, 201) + checkEvent(navigateExample, 200) ) it('navigate_label is optional string', () => - checkEvent({ ...navigateExample, navigate_label: undefined }, 201) + checkEvent({ ...navigateExample, navigate_label: undefined }, 200) ) }) @@ -385,7 +385,7 @@ describe('POST /events', () => { } it('should record a survey event', () => - checkEvent(surveyExample, 201) + checkEvent(surveyExample, 200) ) it('survey_vote is boolean', () => @@ -411,7 +411,7 @@ describe('POST /events', () => { } it('should record an experiment event', () => - checkEvent(experimentExample, 201) + checkEvent(experimentExample, 200) ) it('experiment_name is required string', () => @@ -423,7 +423,7 @@ describe('POST /events', () => { ) it('experiment_success is optional boolean', () => - checkEvent({ ...experimentExample, experiment_success: undefined }, 201) + checkEvent({ ...experimentExample, experiment_success: undefined }, 200) ) }) @@ -436,7 +436,7 @@ describe('POST /events', () => { } it('should record an redirect event', () => - checkEvent(redirectExample, 201) + checkEvent(redirectExample, 200) ) it('redirect_from is required url', () => @@ -456,7 +456,7 @@ describe('POST /events', () => { } it('should record an clipboard event', () => - checkEvent(clipboardExample, 201) + checkEvent(clipboardExample, 200) ) it('clipboard_operation is required copy, paste, cut', () => @@ -471,7 +471,7 @@ describe('POST /events', () => { } it('should record a print event', () => - checkEvent(printExample, 201) + checkEvent(printExample, 200) ) }) }) diff --git a/tests/unit/get-rss-feeds.js b/tests/unit/get-rss-feeds.js new file mode 100644 index 0000000000..e6fa1c5dc0 --- /dev/null +++ b/tests/unit/get-rss-feeds.js @@ -0,0 +1,46 @@ +const Parser = require('rss-parser') +const { getChangelogItems } = require('../../lib/changelog') +const fs = require('fs') +const path = require('path') +const parser = new Parser({ timeout: 5000 }) +const rssFeedContent = fs.readFileSync(path.join(process.cwd(), 'tests/fixtures/rss-feed.xml'), 'utf8') + +describe('getChangelogItems module', () => { + let changelog + beforeAll(async () => { + const feed = await parser.parseString(rssFeedContent) + changelog = await getChangelogItems('GitHub Actions:', feed) + }) + + it('changelog contains 3 items', async () => { + expect(changelog.length).toEqual(3) + }) + + it('each changelog item has expected title, date, and href', async () => { + const expectedChangelogValues = [ + { + title: 'Authentication token format updates are generally available', + date: '2021-03-31T22:22:03.000Z', + href: 'https://github.blog/changelog/2021-03-31-authentication-token-format-updates-are-generally-available' + }, + { + title: 'Compare REST API now supports pagination', + date: '2021-03-23T02:49:54.000Z', + href: 'https://github.blog/changelog/2021-03-22-compare-rest-api-now-supports-pagination' + }, + { + title: 'GitHub Discussions GraphQL API public beta', + date: '2021-02-23T18:21:40.000Z', + href: 'https://github.blog/changelog/2021-02-23-github-discussions-graphql-api-public-beta' + } + ] + + for (let i = 0; i < 3; i++) { + const changeLogEntry = changelog[i] + const expectedEntry = expectedChangelogValues[i] + expect(changeLogEntry.title).toBe(expectedEntry.title) + expect(changeLogEntry.date).toBe(expectedEntry.date) + expect(changeLogEntry.href).toBe(expectedEntry.href) + } + }) +}) diff --git a/translations/de-DE/content/actions/index.md b/translations/de-DE/content/actions/index.md index 7a12b34aac..d1595477fe 100644 --- a/translations/de-DE/content/actions/index.md +++ b/translations/de-DE/content/actions/index.md @@ -22,18 +22,8 @@ featuredLinks: - /actions/reference/environment-variables - /actions/reference/encrypted-secrets changelog: - - - title: Environments, environment protection rules and environment secrets (beta) - date: '2020-12-15' - href: https://github.blog/changelog/2020-12-15-github-actions-environments-environment-protection-rules-and-environment-secrets-beta/ - - - title: Workflow visualization - date: '2020-12-08' - href: https://github.blog/changelog/2020-12-08-github-actions-workflow-visualization/ - - - title: Removing set-env and add-path commands on November 16 - date: '2020-11-09' - href: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ + label: 'actions' + prefix: 'GitHub Actions: ' product_video: https://www.youtube-nocookie.com/embed/cP0I9w2coGU redirect_from: - /articles/automating-your-workflow-with-github-actions/ diff --git a/translations/de-DE/content/discussions/index.md b/translations/de-DE/content/discussions/index.md index 84d965fd4a..9974eb20a2 100644 --- a/translations/de-DE/content/discussions/index.md +++ b/translations/de-DE/content/discussions/index.md @@ -22,6 +22,8 @@ featuredLinks: - /discussions/guides/finding-discussions-across-multiple-repositories - /discussions/collaborating-with-your-community-using-discussions/collaborating-with-maintainers-using-discussions - /discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository +changelog: + label: 'discussions' product_video: https://www.youtube-nocookie.com/embed/IpBw2SJkFyk layout: product-landing versions: diff --git a/translations/de-DE/content/education/index.md b/translations/de-DE/content/education/index.md index 782c20b772..abd70e5dc1 100644 --- a/translations/de-DE/content/education/index.md +++ b/translations/de-DE/content/education/index.md @@ -20,22 +20,7 @@ featuredLinks: - /github/getting-started-with-github/github-cli - /education/manage-coursework-with-github-classroom/teach-with-github-classroom changelog: - - - title: 'Try something new at Local Hack Day: Learn' - date: '2020-10-15' - href: https://github.blog/2020-10-15-try-something-new-at-local-hack-day-learn/ - - - title: 'Remote Education: Creating community through shared experiences' - date: '2020-09-24' - href: https://github.blog/2020-09-24-remote-education-creating-community-through-shared-experiences/ - - - title: 'Remote Education: A series of best practices for online campus communities' - date: '2020-09-10' - href: https://github.blog/2020-09-10-remote-education-a-series-of-best-practices-for-online-campus-communities/ - - - title: Welcome to the inaugural class of MLH Fellows - date: '2020-06-24' - href: https://github.blog/2020-06-24-welcome-to-the-inaugural-class-of-mlh-fellows/ + label: 'education' layout: product-landing versions: free-pro-team: '*' diff --git a/translations/de-DE/content/packages/index.md b/translations/de-DE/content/packages/index.md index d28ce85e8b..56deb1e548 100644 --- a/translations/de-DE/content/packages/index.md +++ b/translations/de-DE/content/packages/index.md @@ -20,18 +20,8 @@ featuredLinks: - /packages/guides/enabling-improved-container-support - /packages/guides/configuring-rubygems-for-use-with-github-packages changelog: - - - title: ghcr.io maintenance mode on 2021-01-09 - date: '2021-01-08' - href: https://github.blog/changelog/2021-01-08-packages-ghcr-io-maintenance-mode-on-2021-01-09/ - - - title: ghcr.io container names redirect to the container page - date: '2020-12-14' - href: https://github.blog/changelog/2020-12-14-ghcr-io-container-names-redirect-to-the-container-page/ - - - title: Filter for tagged and untagged containers - date: '2020-12-14' - href: https://github.blog/changelog/2020-12-14-packages-can-filter-for-tagged-and-untagged-containers/ + label: 'packages' + prefix: 'Packages: ' redirect_from: - /github/managing-packages-with-github-packages - /categories/managing-packages-with-github-package-registry diff --git a/translations/es-ES/content/actions/index.md b/translations/es-ES/content/actions/index.md index 84a2bb74ed..73682bdedb 100644 --- a/translations/es-ES/content/actions/index.md +++ b/translations/es-ES/content/actions/index.md @@ -22,15 +22,8 @@ featuredLinks: - /actions/reference/environment-variables - /actions/reference/encrypted-secrets changelog: - - title: 'Ambientes, reglas de protección de ambiente y secretos de ambiente (beta)' - date: '2020-12-15' - href: 'https://github.blog/changelog/2020-12-15-github-actions-environments-environment-protection-rules-and-environment-secrets-beta/' - - title: Visualización de flujos de trabajo - date: '2020-12-08' - href: 'https://github.blog/changelog/2020-12-08-github-actions-workflow-visualization/' - - title: Eliminación de los comandos de set-env y add-path en el 16 de Noviembre - date: '2020-11-09' - href: 'https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/' + label: 'actions' + prefix: 'GitHub Actions: ' product_video: 'https://www.youtube-nocookie.com/embed/cP0I9w2coGU' redirect_from: - /articles/automating-your-workflow-with-github-actions/ diff --git a/translations/es-ES/content/discussions/index.md b/translations/es-ES/content/discussions/index.md index 84d965fd4a..9974eb20a2 100644 --- a/translations/es-ES/content/discussions/index.md +++ b/translations/es-ES/content/discussions/index.md @@ -22,6 +22,8 @@ featuredLinks: - /discussions/guides/finding-discussions-across-multiple-repositories - /discussions/collaborating-with-your-community-using-discussions/collaborating-with-maintainers-using-discussions - /discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository +changelog: + label: 'discussions' product_video: https://www.youtube-nocookie.com/embed/IpBw2SJkFyk layout: product-landing versions: diff --git a/translations/es-ES/content/education/index.md b/translations/es-ES/content/education/index.md index c5177cc6ab..af67dbe66a 100644 --- a/translations/es-ES/content/education/index.md +++ b/translations/es-ES/content/education/index.md @@ -20,18 +20,7 @@ featuredLinks: - /github/getting-started-with-github/github-cli - /education/manage-coursework-with-github-classroom/teach-with-github-classroom changelog: - - title: 'Intenta hacer algo nuevo en el día local del Hack: Aprende' - date: '2020-10-15' - href: 'https://github.blog/2020-10-15-try-something-new-at-local-hack-day-learn/' - - title: 'Educación remota: Crear una comunidad mediante las experiencias compartidas' - date: '2020-09-24' - href: 'https://github.blog/2020-09-24-remote-education-creating-community-through-shared-experiences/' - - title: 'Educación remota: Una serie de mejores prácticas para las comunidades de campus en línea' - date: '2020-09-10' - href: 'https://github.blog/2020-09-10-remote-education-a-series-of-best-practices-for-online-campus-communities/' - - title: Bienvenido a la clase de inauguración de MLH Fellows - date: '2020-06-24' - href: 'https://github.blog/2020-06-24-welcome-to-the-inaugural-class-of-mlh-fellows/' + label: 'education' layout: product-landing versions: free-pro-team: '*' diff --git a/translations/es-ES/content/packages/index.md b/translations/es-ES/content/packages/index.md index 829de7d6f1..a1b56f5806 100644 --- a/translations/es-ES/content/packages/index.md +++ b/translations/es-ES/content/packages/index.md @@ -20,15 +20,8 @@ featuredLinks: - /packages/guides/enabling-improved-container-support - /packages/guides/configuring-rubygems-for-use-with-github-packages changelog: - - title: modo de mantenimiento de ghcr.io en 2021-01-09 - date: '2021-01-08' - href: 'https://github.blog/changelog/2021-01-08-packages-ghcr-io-maintenance-mode-on-2021-01-09/' - - title: Los nombres de contenedor ghcr.io redireccionan a la página de dicho contenedor - date: '2020-12-14' - href: 'https://github.blog/changelog/2020-12-14-ghcr-io-container-names-redirect-to-the-container-page/' - - title: Filtrar para contenedores etiquetados y no etiquetados - date: '2020-12-14' - href: 'https://github.blog/changelog/2020-12-14-packages-can-filter-for-tagged-and-untagged-containers/' + label: 'packages' + prefix: 'Packages: ' redirect_from: - /github/managing-packages-with-github-packages - /categories/managing-packages-with-github-package-registry diff --git a/translations/ja-JP/content/actions/index.md b/translations/ja-JP/content/actions/index.md index 41c2d3c224..20ff4725c5 100644 --- a/translations/ja-JP/content/actions/index.md +++ b/translations/ja-JP/content/actions/index.md @@ -22,18 +22,8 @@ featuredLinks: - /actions/reference/environment-variables - /actions/reference/encrypted-secrets changelog: - - - title: 環境、環境の保護ルール、環境のシークレット(ベータ) - date: '2020-12-15' - href: https://github.blog/changelog/2020-12-15-github-actions-environments-environment-protection-rules-and-environment-secrets-beta/ - - - title: ワークフローの視覚化 - date: '2020-12-08' - href: https://github.blog/changelog/2020-12-08-github-actions-workflow-visualization/ - - - title: 11月16日に set-env コマンドと add-path コマンドを削除します - date: '2020-11-09' - href: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ + label: 'actions' + prefix: 'GitHub Actions: ' product_video: https://www.youtube-nocookie.com/embed/cP0I9w2coGU redirect_from: - /articles/automating-your-workflow-with-github-actions/ diff --git a/translations/ja-JP/content/discussions/index.md b/translations/ja-JP/content/discussions/index.md index 5d9153d9cf..2c05f15c6c 100644 --- a/translations/ja-JP/content/discussions/index.md +++ b/translations/ja-JP/content/discussions/index.md @@ -22,6 +22,8 @@ featuredLinks: - /discussions/guides/finding-discussions-across-multiple-repositories - /discussions/collaborating-with-your-community-using-discussions/collaborating-with-maintainers-using-discussions - /discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository +changelog: + label: 'discussions' product_video: https://www.youtube-nocookie.com/embed/IpBw2SJkFyk layout: product-landing versions: diff --git a/translations/ja-JP/content/education/index.md b/translations/ja-JP/content/education/index.md index 00022ba20a..a00aa3399f 100644 --- a/translations/ja-JP/content/education/index.md +++ b/translations/ja-JP/content/education/index.md @@ -20,22 +20,7 @@ featuredLinks: - /github/getting-started-with-github/github-cli - /education/manage-coursework-with-github-classroom/teach-with-github-classroom changelog: - - - title: 'Local Hack Day: Learnで新しいことを試してみる' - date: '2020-10-15' - href: https://github.blog/2020-10-15-try-something-new-at-local-hack-day-learn/ - - - title: 'リモート教育: 共有体験を通じてコミュニティを生み出す' - date: '2020-09-24' - href: https://github.blog/2020-09-24-remote-education-creating-community-through-shared-experiences/ - - - title: 'リモート教育: オンラインキャンパスコミュニティのためのベストプラクティスを扱うシリーズ' - date: '2020-09-10' - href: https://github.blog/2020-09-10-remote-education-a-series-of-best-practices-for-online-campus-communities/ - - - title: MLHフェローの一期生になろう - date: '2020-06-24' - href: https://github.blog/2020-06-24-welcome-to-the-inaugural-class-of-mlh-fellows/ + label: 'education' layout: product-landing versions: free-pro-team: '*' diff --git a/translations/ja-JP/content/packages/index.md b/translations/ja-JP/content/packages/index.md index c79576325f..fb6feeb34e 100644 --- a/translations/ja-JP/content/packages/index.md +++ b/translations/ja-JP/content/packages/index.md @@ -20,18 +20,8 @@ featuredLinks: - /packages/guides/enabling-improved-container-support - /packages/guides/configuring-rubygems-for-use-with-github-packages changelog: - - - title: 2021年1月9日、ghcr.ioはメンテナンスモードになります - date: '2021-01-08' - href: https://github.blog/changelog/2021-01-08-packages-ghcr-io-maintenance-mode-on-2021-01-09/ - - - title: ghcr.ioコンテナ名は、コンテナページにリダイレクトされます - date: '2020-12-14' - href: https://github.blog/changelog/2020-12-14-ghcr-io-container-names-redirect-to-the-container-page/ - - - title: タグ付きおよびタグなしコンテナのフィルター - date: '2020-12-14' - href: https://github.blog/changelog/2020-12-14-packages-can-filter-for-tagged-and-untagged-containers/ + label: 'packages' + prefix: 'Packages: ' redirect_from: - /github/managing-packages-with-github-packages - /categories/managing-packages-with-github-package-registry diff --git a/translations/ko-KR/content/actions/index.md b/translations/ko-KR/content/actions/index.md index bfb31258c3..d32dfec985 100644 --- a/translations/ko-KR/content/actions/index.md +++ b/translations/ko-KR/content/actions/index.md @@ -22,18 +22,8 @@ featuredLinks: - /actions/reference/environment-variables - /actions/reference/encrypted-secrets changelog: - - - title: Environments, environment protection rules and environment secrets (beta) - date: '2020-12-15' - href: https://github.blog/changelog/2020-12-15-github-actions-environments-environment-protection-rules-and-environment-secrets-beta/ - - - title: Workflow visualization - date: '2020-12-08' - href: https://github.blog/changelog/2020-12-08-github-actions-workflow-visualization/ - - - title: Removing set-env and add-path commands on November 16 - date: '2020-11-09' - href: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ + label: 'actions' + prefix: 'GitHub Actions: ' product_video: https://www.youtube-nocookie.com/embed/cP0I9w2coGU redirect_from: - /articles/automating-your-workflow-with-github-actions/ diff --git a/translations/ko-KR/content/discussions/index.md b/translations/ko-KR/content/discussions/index.md index 84d965fd4a..9974eb20a2 100644 --- a/translations/ko-KR/content/discussions/index.md +++ b/translations/ko-KR/content/discussions/index.md @@ -22,6 +22,8 @@ featuredLinks: - /discussions/guides/finding-discussions-across-multiple-repositories - /discussions/collaborating-with-your-community-using-discussions/collaborating-with-maintainers-using-discussions - /discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository +changelog: + label: 'discussions' product_video: https://www.youtube-nocookie.com/embed/IpBw2SJkFyk layout: product-landing versions: diff --git a/translations/ko-KR/content/education/index.md b/translations/ko-KR/content/education/index.md index 782c20b772..abd70e5dc1 100644 --- a/translations/ko-KR/content/education/index.md +++ b/translations/ko-KR/content/education/index.md @@ -20,22 +20,7 @@ featuredLinks: - /github/getting-started-with-github/github-cli - /education/manage-coursework-with-github-classroom/teach-with-github-classroom changelog: - - - title: 'Try something new at Local Hack Day: Learn' - date: '2020-10-15' - href: https://github.blog/2020-10-15-try-something-new-at-local-hack-day-learn/ - - - title: 'Remote Education: Creating community through shared experiences' - date: '2020-09-24' - href: https://github.blog/2020-09-24-remote-education-creating-community-through-shared-experiences/ - - - title: 'Remote Education: A series of best practices for online campus communities' - date: '2020-09-10' - href: https://github.blog/2020-09-10-remote-education-a-series-of-best-practices-for-online-campus-communities/ - - - title: Welcome to the inaugural class of MLH Fellows - date: '2020-06-24' - href: https://github.blog/2020-06-24-welcome-to-the-inaugural-class-of-mlh-fellows/ + label: 'education' layout: product-landing versions: free-pro-team: '*' diff --git a/translations/ko-KR/content/packages/index.md b/translations/ko-KR/content/packages/index.md index d28ce85e8b..56deb1e548 100644 --- a/translations/ko-KR/content/packages/index.md +++ b/translations/ko-KR/content/packages/index.md @@ -20,18 +20,8 @@ featuredLinks: - /packages/guides/enabling-improved-container-support - /packages/guides/configuring-rubygems-for-use-with-github-packages changelog: - - - title: ghcr.io maintenance mode on 2021-01-09 - date: '2021-01-08' - href: https://github.blog/changelog/2021-01-08-packages-ghcr-io-maintenance-mode-on-2021-01-09/ - - - title: ghcr.io container names redirect to the container page - date: '2020-12-14' - href: https://github.blog/changelog/2020-12-14-ghcr-io-container-names-redirect-to-the-container-page/ - - - title: Filter for tagged and untagged containers - date: '2020-12-14' - href: https://github.blog/changelog/2020-12-14-packages-can-filter-for-tagged-and-untagged-containers/ + label: 'packages' + prefix: 'Packages: ' redirect_from: - /github/managing-packages-with-github-packages - /categories/managing-packages-with-github-package-registry diff --git a/translations/pt-BR/content/actions/index.md b/translations/pt-BR/content/actions/index.md index 8883b81ccf..c233057f61 100644 --- a/translations/pt-BR/content/actions/index.md +++ b/translations/pt-BR/content/actions/index.md @@ -22,18 +22,8 @@ featuredLinks: - /actions/reference/environment-variables - /actions/reference/encrypted-secrets changelog: - - - title: Ambientes, regras de proteção do ambiente e segredos de ambiente (beta) - date: '2020-12-15' - href: https://github.blog/changelog/2020-12-15-github-actions-environments-environment-protection-rules-and-environment-secrets-beta/ - - - title: Visualização do fluxo de trabalho - date: '2020-12-08' - href: https://github.blog/changelog/2020-12-08-github-actions-workflow-visualization/ - - - title: Remover comandos set-env e add-path em 16 de novembro - date: '2020-11-09' - href: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ + label: 'actions' + prefix: 'GitHub Actions: ' product_video: https://www.youtube-nocookie.com/embed/cP0I9w2coGU redirect_from: - /articles/automating-your-workflow-with-github-actions/ diff --git a/translations/pt-BR/content/discussions/index.md b/translations/pt-BR/content/discussions/index.md index 55df92b767..1af086979a 100644 --- a/translations/pt-BR/content/discussions/index.md +++ b/translations/pt-BR/content/discussions/index.md @@ -22,6 +22,8 @@ featuredLinks: - /discussions/guides/finding-discussions-across-multiple-repositories - /discussions/collaborating-with-your-community-using-discussions/collaborating-with-maintainers-using-discussions - /discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository +changelog: + label: 'discussions' product_video: https://www.youtube-nocookie.com/embed/IpBw2SJkFyk layout: product-landing versions: diff --git a/translations/pt-BR/content/education/index.md b/translations/pt-BR/content/education/index.md index 5c35dc0248..6dfce87d3b 100644 --- a/translations/pt-BR/content/education/index.md +++ b/translations/pt-BR/content/education/index.md @@ -20,18 +20,7 @@ featuredLinks: - /github/getting-started-with-github/github-cli - /education/manage-coursework-with-github-classroom/teach-with-github-classroom changelog: - - title: 'Tente algo novo no dia local do Hack: Aprenda' - date: '2020-10-15' - href: 'https://github.blog/2020-10-15-try-something-new-at-local-hack-day-learn/' - - title: 'Educação remota: criar comunidade por meio de experiências compartilhadas' - date: '2020-09-24' - href: 'https://github.blog/2020-09-24-remote-education-creating-community-through-shared-experiences/' - - title: 'Educação remota: Uma série de práticas recomendadas para comunidades do campus on-line' - date: '2020-09-10' - href: 'https://github.blog/2020-09-10-remote-education-a-series-of-best-practices-for-online-campus-communities/' - - title: Bem-vindo à classe inaugural de MLH Fellows - date: '2020-06-24' - href: 'https://github.blog/2020-06-24-welcome-to-the-inaugural-class-of-mlh-fellows/' + label: 'education' layout: product-landing versions: free-pro-team: '*' diff --git a/translations/pt-BR/content/packages/index.md b/translations/pt-BR/content/packages/index.md index 216e5b7896..7f30b9ab5e 100644 --- a/translations/pt-BR/content/packages/index.md +++ b/translations/pt-BR/content/packages/index.md @@ -20,15 +20,8 @@ featuredLinks: - /packages/guides/enabling-improved-container-support - /packages/guides/configuring-rubygems-for-use-with-github-packages changelog: - - title: Modo de manutenção do ghcr.io em 2021-01-09 - date: '2021-01-08' - href: 'https://github.blog/changelog/2021-01-08-packages-ghcr-io-maintenance-mode-on-2021-01-09/' - - title: Os nomes de contêineres de ghcr.io redirecionam para a página do contêiner - date: '2020-12-14' - href: 'https://github.blog/changelog/2020-12-14-ghcr-io-container-names-redirect-to-the-container-page/' - - title: Filtro para contêineres marcados e sem tags - date: '2020-12-14' - href: 'https://github.blog/changelog/2020-12-14-packages-can-filter-for-tagged-and-untagged-containers/' + label: 'packages' + prefix: 'Packages: ' redirect_from: - /github/managing-packages-with-github-packages - /categories/managing-packages-with-github-package-registry diff --git a/translations/ru-RU/content/actions/index.md b/translations/ru-RU/content/actions/index.md index bfb31258c3..d32dfec985 100644 --- a/translations/ru-RU/content/actions/index.md +++ b/translations/ru-RU/content/actions/index.md @@ -22,18 +22,8 @@ featuredLinks: - /actions/reference/environment-variables - /actions/reference/encrypted-secrets changelog: - - - title: Environments, environment protection rules and environment secrets (beta) - date: '2020-12-15' - href: https://github.blog/changelog/2020-12-15-github-actions-environments-environment-protection-rules-and-environment-secrets-beta/ - - - title: Workflow visualization - date: '2020-12-08' - href: https://github.blog/changelog/2020-12-08-github-actions-workflow-visualization/ - - - title: Removing set-env and add-path commands on November 16 - date: '2020-11-09' - href: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ + label: 'actions' + prefix: 'GitHub Actions: ' product_video: https://www.youtube-nocookie.com/embed/cP0I9w2coGU redirect_from: - /articles/automating-your-workflow-with-github-actions/ diff --git a/translations/ru-RU/content/discussions/index.md b/translations/ru-RU/content/discussions/index.md index 84d965fd4a..9974eb20a2 100644 --- a/translations/ru-RU/content/discussions/index.md +++ b/translations/ru-RU/content/discussions/index.md @@ -22,6 +22,8 @@ featuredLinks: - /discussions/guides/finding-discussions-across-multiple-repositories - /discussions/collaborating-with-your-community-using-discussions/collaborating-with-maintainers-using-discussions - /discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository +changelog: + label: 'discussions' product_video: https://www.youtube-nocookie.com/embed/IpBw2SJkFyk layout: product-landing versions: diff --git a/translations/ru-RU/content/education/index.md b/translations/ru-RU/content/education/index.md index 782c20b772..abd70e5dc1 100644 --- a/translations/ru-RU/content/education/index.md +++ b/translations/ru-RU/content/education/index.md @@ -20,22 +20,7 @@ featuredLinks: - /github/getting-started-with-github/github-cli - /education/manage-coursework-with-github-classroom/teach-with-github-classroom changelog: - - - title: 'Try something new at Local Hack Day: Learn' - date: '2020-10-15' - href: https://github.blog/2020-10-15-try-something-new-at-local-hack-day-learn/ - - - title: 'Remote Education: Creating community through shared experiences' - date: '2020-09-24' - href: https://github.blog/2020-09-24-remote-education-creating-community-through-shared-experiences/ - - - title: 'Remote Education: A series of best practices for online campus communities' - date: '2020-09-10' - href: https://github.blog/2020-09-10-remote-education-a-series-of-best-practices-for-online-campus-communities/ - - - title: Welcome to the inaugural class of MLH Fellows - date: '2020-06-24' - href: https://github.blog/2020-06-24-welcome-to-the-inaugural-class-of-mlh-fellows/ + label: 'education' layout: product-landing versions: free-pro-team: '*' diff --git a/translations/ru-RU/content/packages/index.md b/translations/ru-RU/content/packages/index.md index d28ce85e8b..56deb1e548 100644 --- a/translations/ru-RU/content/packages/index.md +++ b/translations/ru-RU/content/packages/index.md @@ -20,18 +20,8 @@ featuredLinks: - /packages/guides/enabling-improved-container-support - /packages/guides/configuring-rubygems-for-use-with-github-packages changelog: - - - title: ghcr.io maintenance mode on 2021-01-09 - date: '2021-01-08' - href: https://github.blog/changelog/2021-01-08-packages-ghcr-io-maintenance-mode-on-2021-01-09/ - - - title: ghcr.io container names redirect to the container page - date: '2020-12-14' - href: https://github.blog/changelog/2020-12-14-ghcr-io-container-names-redirect-to-the-container-page/ - - - title: Filter for tagged and untagged containers - date: '2020-12-14' - href: https://github.blog/changelog/2020-12-14-packages-can-filter-for-tagged-and-untagged-containers/ + label: 'packages' + prefix: 'Packages: ' redirect_from: - /github/managing-packages-with-github-packages - /categories/managing-packages-with-github-package-registry diff --git a/translations/zh-CN/content/actions/index.md b/translations/zh-CN/content/actions/index.md index 1e2ea89acf..f30ba6242c 100644 --- a/translations/zh-CN/content/actions/index.md +++ b/translations/zh-CN/content/actions/index.md @@ -22,18 +22,8 @@ featuredLinks: - /actions/reference/environment-variables - /actions/reference/encrypted-secrets changelog: - - - title: 环境、环境保护规则和环境密码(测试版) - date: '2020-12-15' - href: https://github.blog/changelog/2020-12-15-github-actions-environments-environment-protection-rules-and-environment-secrets-beta/ - - - title: 工作流程可视化 - date: '2020-12-08' - href: https://github.blog/changelog/2020-12-08-github-actions-workflow-visualization/ - - - title: 11 月 16 日删除 set-env 和 add-path 命令 - date: '2020-11-09' - href: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ + label: 'actions' + prefix: 'GitHub Actions: ' product_video: https://www.youtube-nocookie.com/embed/cP0I9w2coGU redirect_from: - /articles/automating-your-workflow-with-github-actions/ diff --git a/translations/zh-CN/content/discussions/index.md b/translations/zh-CN/content/discussions/index.md index e071a94085..e99b513074 100644 --- a/translations/zh-CN/content/discussions/index.md +++ b/translations/zh-CN/content/discussions/index.md @@ -22,6 +22,8 @@ featuredLinks: - /discussions/guides/finding-discussions-across-multiple-repositories - /discussions/collaborating-with-your-community-using-discussions/collaborating-with-maintainers-using-discussions - /discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository +changelog: + label: 'discussions' product_video: https://www.youtube-nocookie.com/embed/IpBw2SJkFyk layout: product-landing versions: diff --git a/translations/zh-CN/content/education/index.md b/translations/zh-CN/content/education/index.md index 92489bafe5..ed76ef7a74 100644 --- a/translations/zh-CN/content/education/index.md +++ b/translations/zh-CN/content/education/index.md @@ -20,22 +20,7 @@ featuredLinks: - /github/getting-started-with-github/github-cli - /education/manage-coursework-with-github-classroom/teach-with-github-classroom changelog: - - - title: '在 Local Hack Day(当地黑客日)尝试新内容:学习' - date: '2020-10-15' - href: https://github.blog/2020-10-15-try-something-new-at-local-hack-day-learn/ - - - title: '远程教育:通过共享体验创建社区' - date: '2020-09-24' - href: https://github.blog/2020-09-24-remote-education-creating-community-through-shared-experiences/ - - - title: '远程教育:在线校园社区的一系列最佳实践' - date: '2020-09-10' - href: https://github.blog/2020-09-10-remote-education-a-series-of-best-practices-for-online-campus-communities/ - - - title: 欢迎来到 MLH 研究员的首期课程 - date: '2020-06-24' - href: https://github.blog/2020-06-24-welcome-to-the-inaugural-class-of-mlh-fellows/ + label: 'education' layout: product-landing versions: free-pro-team: '*' diff --git a/translations/zh-CN/content/packages/index.md b/translations/zh-CN/content/packages/index.md index 03da6374d4..3364477bef 100644 --- a/translations/zh-CN/content/packages/index.md +++ b/translations/zh-CN/content/packages/index.md @@ -20,18 +20,8 @@ featuredLinks: - /packages/guides/enabling-improved-container-support - /packages/guides/configuring-rubygems-for-use-with-github-packages changelog: - - - title: 2021-01-09 的 ghcr.io 维护模式 - date: '2021-01-08' - href: https://github.blog/changelog/2021-01-08-packages-ghcr-io-maintenance-mode-on-2021-01-09/ - - - title: ghcr.io 容器名称重定向到容器页 - date: '2020-12-14' - href: https://github.blog/changelog/2020-12-14-ghcr-io-container-names-redirect-to-the-container-page/ - - - title: 过滤已标记和未标记的容器 - date: '2020-12-14' - href: https://github.blog/changelog/2020-12-14-packages-can-filter-for-tagged-and-untagged-containers/ + label: 'packages' + prefix: 'Packages: ' redirect_from: - /github/managing-packages-with-github-packages - /categories/managing-packages-with-github-package-registry