diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4234b8f29f..04348af4ae 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -153,6 +153,15 @@ jobs: - name: Run build script run: npm run build + - name: Disk cache used by getRemoteJSON function in middleware + uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 + with: + path: .remotejson-cache + # Very liberal cache key. Note, for this to become populated + # for other branches, you have to manually run this workflow + # at least once using the "Run workflow" button. + key: ${{ runner.os }}-remotejson + - name: Index fixtures into the local Elasticsearch # For the sake of saving time, only run this step if the group # is one that will run tests against an Elasticsearch on localhost. diff --git a/.gitignore b/.gitignore index 1efe6cc410..4276911e17 100644 --- a/.gitignore +++ b/.gitignore @@ -44,3 +44,6 @@ semmle-code .installed.package-lock.json assets/images/help/writing/unordered-list-rendered (1).png + +# Used by getRemoteJSON() +.remotejson-cache/ diff --git a/assets/images/enterprise/3.1/help/repository/repo-tabs-issues.png b/assets/images/enterprise/3.1/help/repository/repo-tabs-issues.png deleted file mode 100644 index db874fc61f..0000000000 Binary files a/assets/images/enterprise/3.1/help/repository/repo-tabs-issues.png and /dev/null differ diff --git a/assets/images/enterprise/3.1/help/repository/repo-tabs-pull-requests.png b/assets/images/enterprise/3.1/help/repository/repo-tabs-pull-requests.png deleted file mode 100644 index 95d4262072..0000000000 Binary files a/assets/images/enterprise/3.1/help/repository/repo-tabs-pull-requests.png and /dev/null differ diff --git a/assets/images/enterprise/3.3/repository/repo-tabs-pull-requests.png b/assets/images/enterprise/3.3/repository/repo-tabs-pull-requests.png deleted file mode 100644 index ed96774668..0000000000 Binary files a/assets/images/enterprise/3.3/repository/repo-tabs-pull-requests.png and /dev/null differ diff --git a/assets/images/enterprise/activity/activity-button.png b/assets/images/enterprise/activity/activity-button.png deleted file mode 100644 index 3216c17531..0000000000 Binary files a/assets/images/enterprise/activity/activity-button.png and /dev/null differ diff --git a/assets/images/enterprise/activity/activity-dashboard-yearly.png b/assets/images/enterprise/activity/activity-dashboard-yearly.png deleted file mode 100644 index 9a5e7a6087..0000000000 Binary files a/assets/images/enterprise/activity/activity-dashboard-yearly.png and /dev/null differ diff --git a/assets/images/enterprise/business-accounts/choose-enterprise-or-org-connect.png b/assets/images/enterprise/business-accounts/choose-enterprise-or-org-connect.png deleted file mode 100644 index 7809676de8..0000000000 Binary files a/assets/images/enterprise/business-accounts/choose-enterprise-or-org-connect.png and /dev/null differ diff --git a/assets/images/enterprise/business-accounts/confirm-disable-github-connect.png b/assets/images/enterprise/business-accounts/confirm-disable-github-connect.png deleted file mode 100644 index 2119602a49..0000000000 Binary files a/assets/images/enterprise/business-accounts/confirm-disable-github-connect.png and /dev/null differ diff --git a/assets/images/enterprise/business-accounts/disable-github-connect-button.png b/assets/images/enterprise/business-accounts/disable-github-connect-button.png deleted file mode 100644 index 8a7bc07c74..0000000000 Binary files a/assets/images/enterprise/business-accounts/disable-github-connect-button.png and /dev/null differ diff --git a/assets/images/enterprise/business-accounts/enable-github-connect-button.png b/assets/images/enterprise/business-accounts/enable-github-connect-button.png deleted file mode 100644 index a1f4191859..0000000000 Binary files a/assets/images/enterprise/business-accounts/enable-github-connect-button.png and /dev/null differ diff --git a/assets/images/enterprise/business-accounts/enable-github-pages-checkbox.png b/assets/images/enterprise/business-accounts/enable-github-pages-checkbox.png deleted file mode 100644 index d30de658ce..0000000000 Binary files a/assets/images/enterprise/business-accounts/enable-github-pages-checkbox.png and /dev/null differ diff --git a/assets/images/enterprise/business-accounts/enable-log-forwarding-checkbox.png b/assets/images/enterprise/business-accounts/enable-log-forwarding-checkbox.png deleted file mode 100644 index 2b1b20f7e5..0000000000 Binary files a/assets/images/enterprise/business-accounts/enable-log-forwarding-checkbox.png and /dev/null differ diff --git a/assets/images/enterprise/business-accounts/export-license-usage-link.png b/assets/images/enterprise/business-accounts/export-license-usage-link.png deleted file mode 100644 index 28661b9a95..0000000000 Binary files a/assets/images/enterprise/business-accounts/export-license-usage-link.png and /dev/null differ diff --git a/assets/images/enterprise/business-accounts/log-forwarding-tab.png b/assets/images/enterprise/business-accounts/log-forwarding-tab.png deleted file mode 100644 index d210ceac79..0000000000 Binary files a/assets/images/enterprise/business-accounts/log-forwarding-tab.png and /dev/null differ diff --git a/assets/images/enterprise/business-accounts/pages-policies-save-button.png b/assets/images/enterprise/business-accounts/pages-policies-save-button.png deleted file mode 100644 index 05a8f70c32..0000000000 Binary files a/assets/images/enterprise/business-accounts/pages-policies-save-button.png and /dev/null differ diff --git a/assets/images/enterprise/business-accounts/protocol-drop-down-menu.png b/assets/images/enterprise/business-accounts/protocol-drop-down-menu.png deleted file mode 100644 index e3ece9d441..0000000000 Binary files a/assets/images/enterprise/business-accounts/protocol-drop-down-menu.png and /dev/null differ diff --git a/assets/images/enterprise/business-accounts/public-certificate-text-box.png b/assets/images/enterprise/business-accounts/public-certificate-text-box.png deleted file mode 100644 index bf0e3ef647..0000000000 Binary files a/assets/images/enterprise/business-accounts/public-certificate-text-box.png and /dev/null differ diff --git a/assets/images/enterprise/business-accounts/save-button-log-forwarding.png b/assets/images/enterprise/business-accounts/save-button-log-forwarding.png deleted file mode 100644 index 6ee95178fe..0000000000 Binary files a/assets/images/enterprise/business-accounts/save-button-log-forwarding.png and /dev/null differ diff --git a/assets/images/enterprise/business-accounts/server-address-field.png b/assets/images/enterprise/business-accounts/server-address-field.png deleted file mode 100644 index c61e237706..0000000000 Binary files a/assets/images/enterprise/business-accounts/server-address-field.png and /dev/null differ diff --git a/assets/images/enterprise/business-accounts/settings-announcement-tab.png b/assets/images/enterprise/business-accounts/settings-announcement-tab.png deleted file mode 100644 index 41215dbcb4..0000000000 Binary files a/assets/images/enterprise/business-accounts/settings-announcement-tab.png and /dev/null differ diff --git a/assets/images/enterprise/business-accounts/settings-messages-tab.png b/assets/images/enterprise/business-accounts/settings-messages-tab.png deleted file mode 100644 index 68f52f739f..0000000000 Binary files a/assets/images/enterprise/business-accounts/settings-messages-tab.png and /dev/null differ diff --git a/assets/images/enterprise/business-accounts/settings-options-tab.png b/assets/images/enterprise/business-accounts/settings-options-tab.png deleted file mode 100644 index a85c306146..0000000000 Binary files a/assets/images/enterprise/business-accounts/settings-options-tab.png and /dev/null differ diff --git a/assets/images/enterprise/business-accounts/vulnerabilities-tab.png b/assets/images/enterprise/business-accounts/vulnerabilities-tab.png deleted file mode 100644 index 6ebbe879a8..0000000000 Binary files a/assets/images/enterprise/business-accounts/vulnerabilities-tab.png and /dev/null differ diff --git a/assets/images/enterprise/cluster/cluster-diagram.png b/assets/images/enterprise/cluster/cluster-diagram.png deleted file mode 100644 index 53e8c07d10..0000000000 Binary files a/assets/images/enterprise/cluster/cluster-diagram.png and /dev/null differ diff --git a/assets/images/enterprise/cluster/nagios-example.png b/assets/images/enterprise/cluster/nagios-example.png deleted file mode 100644 index 4a6c9a7224..0000000000 Binary files a/assets/images/enterprise/cluster/nagios-example.png and /dev/null differ diff --git a/assets/images/enterprise/configuration/ae-discard-email.png b/assets/images/enterprise/configuration/ae-discard-email.png deleted file mode 100644 index a8ef6a800a..0000000000 Binary files a/assets/images/enterprise/configuration/ae-discard-email.png and /dev/null differ diff --git a/assets/images/enterprise/configuration/ae-email-configure.png b/assets/images/enterprise/configuration/ae-email-configure.png deleted file mode 100644 index 6d0aed480a..0000000000 Binary files a/assets/images/enterprise/configuration/ae-email-configure.png and /dev/null differ diff --git a/assets/images/enterprise/configuration/ae-enable-email-configure.png b/assets/images/enterprise/configuration/ae-enable-email-configure.png deleted file mode 100644 index 87f59b3d44..0000000000 Binary files a/assets/images/enterprise/configuration/ae-enable-email-configure.png and /dev/null differ diff --git a/assets/images/enterprise/configuration/ae-enterprise-configuration.png b/assets/images/enterprise/configuration/ae-enterprise-configuration.png deleted file mode 100644 index 51761ac8cf..0000000000 Binary files a/assets/images/enterprise/configuration/ae-enterprise-configuration.png and /dev/null differ diff --git a/assets/images/enterprise/configuration/ae-force-pushes-configuration-menu.png b/assets/images/enterprise/configuration/ae-force-pushes-configuration-menu.png deleted file mode 100644 index 91f49b8307..0000000000 Binary files a/assets/images/enterprise/configuration/ae-force-pushes-configuration-menu.png and /dev/null differ diff --git a/assets/images/enterprise/configuration/ae-git-ssh-access-menu.png b/assets/images/enterprise/configuration/ae-git-ssh-access-menu.png deleted file mode 100644 index 77905d5c1d..0000000000 Binary files a/assets/images/enterprise/configuration/ae-git-ssh-access-menu.png and /dev/null differ diff --git a/assets/images/enterprise/configuration/ae-idp-configure.png b/assets/images/enterprise/configuration/ae-idp-configure.png deleted file mode 100644 index e851f586df..0000000000 Binary files a/assets/images/enterprise/configuration/ae-idp-configure.png and /dev/null differ diff --git a/assets/images/enterprise/configuration/ae-idp-issuer-url.png b/assets/images/enterprise/configuration/ae-idp-issuer-url.png deleted file mode 100644 index ec47f27e57..0000000000 Binary files a/assets/images/enterprise/configuration/ae-idp-issuer-url.png and /dev/null differ diff --git a/assets/images/enterprise/configuration/ae-idp-public-certificate.png b/assets/images/enterprise/configuration/ae-idp-public-certificate.png deleted file mode 100644 index 85772db116..0000000000 Binary files a/assets/images/enterprise/configuration/ae-idp-public-certificate.png and /dev/null differ diff --git a/assets/images/enterprise/configuration/ae-idp-sign-on-url.png b/assets/images/enterprise/configuration/ae-idp-sign-on-url.png deleted file mode 100644 index f475b80262..0000000000 Binary files a/assets/images/enterprise/configuration/ae-idp-sign-on-url.png and /dev/null differ diff --git a/assets/images/enterprise/configuration/ae-organization-creation-permissions-menu.png b/assets/images/enterprise/configuration/ae-organization-creation-permissions-menu.png deleted file mode 100644 index 9be4af2e09..0000000000 Binary files a/assets/images/enterprise/configuration/ae-organization-creation-permissions-menu.png and /dev/null differ diff --git a/assets/images/enterprise/configuration/ae-policies-configure.png b/assets/images/enterprise/configuration/ae-policies-configure.png deleted file mode 100644 index 278f8eec94..0000000000 Binary files a/assets/images/enterprise/configuration/ae-policies-configure.png and /dev/null differ diff --git a/assets/images/enterprise/configuration/ae-repository-creation-permissions.png b/assets/images/enterprise/configuration/ae-repository-creation-permissions.png deleted file mode 100644 index 32ca49e2ee..0000000000 Binary files a/assets/images/enterprise/configuration/ae-repository-creation-permissions.png and /dev/null differ diff --git a/assets/images/enterprise/configuration/ae-repository-forking-menu.png b/assets/images/enterprise/configuration/ae-repository-forking-menu.png deleted file mode 100644 index a1482bacec..0000000000 Binary files a/assets/images/enterprise/configuration/ae-repository-forking-menu.png and /dev/null differ diff --git a/assets/images/enterprise/configuration/ae-repository-invitations-menu.png b/assets/images/enterprise/configuration/ae-repository-invitations-menu.png deleted file mode 100644 index 9d16134638..0000000000 Binary files a/assets/images/enterprise/configuration/ae-repository-invitations-menu.png and /dev/null differ diff --git a/assets/images/enterprise/configuration/ae-repository-permissions-menu.png b/assets/images/enterprise/configuration/ae-repository-permissions-menu.png deleted file mode 100644 index e69b41c8ac..0000000000 Binary files a/assets/images/enterprise/configuration/ae-repository-permissions-menu.png and /dev/null differ diff --git a/assets/images/enterprise/configuration/ae-repository-visibility-menu.png b/assets/images/enterprise/configuration/ae-repository-visibility-menu.png deleted file mode 100644 index 934ccf0777..0000000000 Binary files a/assets/images/enterprise/configuration/ae-repository-visibility-menu.png and /dev/null differ diff --git a/assets/images/enterprise/configuration/ae-reset-default-options.png b/assets/images/enterprise/configuration/ae-reset-default-options.png deleted file mode 100644 index 0f309452ae..0000000000 Binary files a/assets/images/enterprise/configuration/ae-reset-default-options.png and /dev/null differ diff --git a/assets/images/enterprise/configuration/ae-save.png b/assets/images/enterprise/configuration/ae-save.png deleted file mode 100644 index 3240cfa2e5..0000000000 Binary files a/assets/images/enterprise/configuration/ae-save.png and /dev/null differ diff --git a/assets/images/enterprise/configuration/ae-send-test-email.png b/assets/images/enterprise/configuration/ae-send-test-email.png deleted file mode 100644 index 384e10d7c5..0000000000 Binary files a/assets/images/enterprise/configuration/ae-send-test-email.png and /dev/null differ diff --git a/assets/images/enterprise/configuration/ae-support-configure.png b/assets/images/enterprise/configuration/ae-support-configure.png deleted file mode 100644 index 783f7f101c..0000000000 Binary files a/assets/images/enterprise/configuration/ae-support-configure.png and /dev/null differ diff --git a/assets/images/enterprise/configuration/ae-support-link-url.png b/assets/images/enterprise/configuration/ae-support-link-url.png deleted file mode 100644 index f603e12a61..0000000000 Binary files a/assets/images/enterprise/configuration/ae-support-link-url.png and /dev/null differ diff --git a/assets/images/enterprise/configuration/ae-test-email.png b/assets/images/enterprise/configuration/ae-test-email.png deleted file mode 100644 index 8a02a19c4e..0000000000 Binary files a/assets/images/enterprise/configuration/ae-test-email.png and /dev/null differ diff --git a/assets/images/enterprise/configuration/ae-test-saml-configuration.png b/assets/images/enterprise/configuration/ae-test-saml-configuration.png deleted file mode 100644 index 5333171e29..0000000000 Binary files a/assets/images/enterprise/configuration/ae-test-saml-configuration.png and /dev/null differ diff --git a/assets/images/enterprise/configuration/enforce-tls-for-smtp-checkbox.png b/assets/images/enterprise/configuration/enforce-tls-for-smtp-checkbox.png index e2b4f4fcb0..57c528ebdb 100644 Binary files a/assets/images/enterprise/configuration/enforce-tls-for-smtp-checkbox.png and b/assets/images/enterprise/configuration/enforce-tls-for-smtp-checkbox.png differ diff --git a/assets/images/enterprise/configuration/enterprise-account-email-tab.png b/assets/images/enterprise/configuration/enterprise-account-email-tab.png deleted file mode 100644 index 1fa7acf0a6..0000000000 Binary files a/assets/images/enterprise/configuration/enterprise-account-email-tab.png and /dev/null differ diff --git a/assets/images/enterprise/custom-footer/add-footer-links.png b/assets/images/enterprise/custom-footer/add-footer-links.png deleted file mode 100644 index a4c40ca587..0000000000 Binary files a/assets/images/enterprise/custom-footer/add-footer-links.png and /dev/null differ diff --git a/assets/images/enterprise/custom-footer/custom-footer-section.png b/assets/images/enterprise/custom-footer/custom-footer-section.png index 7cdaf01f2d..3df6b4b10e 100644 Binary files a/assets/images/enterprise/custom-footer/custom-footer-section.png and b/assets/images/enterprise/custom-footer/custom-footer-section.png differ diff --git a/assets/images/enterprise/custom-footer/enterprise-profile-ghec.png b/assets/images/enterprise/custom-footer/enterprise-profile-ghec.png deleted file mode 100644 index b7a386193c..0000000000 Binary files a/assets/images/enterprise/custom-footer/enterprise-profile-ghec.png and /dev/null differ diff --git a/assets/images/enterprise/custom-footer/enterprise-profile-ghes.png b/assets/images/enterprise/custom-footer/enterprise-profile-ghes.png deleted file mode 100644 index 5232af1895..0000000000 Binary files a/assets/images/enterprise/custom-footer/enterprise-profile-ghes.png and /dev/null differ diff --git a/assets/images/enterprise/custom-footer/octodemo-footer.png b/assets/images/enterprise/custom-footer/octodemo-footer.png deleted file mode 100644 index f7915b7d0e..0000000000 Binary files a/assets/images/enterprise/custom-footer/octodemo-footer.png and /dev/null differ diff --git a/assets/images/enterprise/custom-footer/update-custom-footer.png b/assets/images/enterprise/custom-footer/update-custom-footer.png deleted file mode 100644 index 2222bbf014..0000000000 Binary files a/assets/images/enterprise/custom-footer/update-custom-footer.png and /dev/null differ diff --git a/assets/images/enterprise/enterprise-server/license.png b/assets/images/enterprise/enterprise-server/license.png deleted file mode 100644 index a948c3d3b2..0000000000 Binary files a/assets/images/enterprise/enterprise-server/license.png and /dev/null differ diff --git a/assets/images/enterprise/github-ae/disable-github-connect-button.png b/assets/images/enterprise/github-ae/disable-github-connect-button.png deleted file mode 100644 index c343435180..0000000000 Binary files a/assets/images/enterprise/github-ae/disable-github-connect-button.png and /dev/null differ diff --git a/assets/images/enterprise/github-ae/enable-github-connect-button.png b/assets/images/enterprise/github-ae/enable-github-connect-button.png deleted file mode 100644 index e79e36b835..0000000000 Binary files a/assets/images/enterprise/github-ae/enable-github-connect-button.png and /dev/null differ diff --git a/assets/images/enterprise/graphs/click-alert-in-alerts-list.png b/assets/images/enterprise/graphs/click-alert-in-alerts-list.png deleted file mode 100644 index 0339c25069..0000000000 Binary files a/assets/images/enterprise/graphs/click-alert-in-alerts-list.png and /dev/null differ diff --git a/assets/images/enterprise/maintenance/enable-ip-exception-list.png b/assets/images/enterprise/maintenance/enable-ip-exception-list.png deleted file mode 100644 index 9b9b1881f1..0000000000 Binary files a/assets/images/enterprise/maintenance/enable-ip-exception-list.png and /dev/null differ diff --git a/assets/images/enterprise/maintenance/enable-maintenance-mode-checkbox.png b/assets/images/enterprise/maintenance/enable-maintenance-mode-checkbox.png deleted file mode 100644 index 8dea941acb..0000000000 Binary files a/assets/images/enterprise/maintenance/enable-maintenance-mode-checkbox.png and /dev/null differ diff --git a/assets/images/enterprise/maintenance/enable-maintenance-mode-now.png b/assets/images/enterprise/maintenance/enable-maintenance-mode-now.png deleted file mode 100644 index ad95e43778..0000000000 Binary files a/assets/images/enterprise/maintenance/enable-maintenance-mode-now.png and /dev/null differ diff --git a/assets/images/enterprise/maintenance/ip-exception-list-ip-addresses.png b/assets/images/enterprise/maintenance/ip-exception-list-ip-addresses.png deleted file mode 100644 index 8c87b020cc..0000000000 Binary files a/assets/images/enterprise/maintenance/ip-exception-list-ip-addresses.png and /dev/null differ diff --git a/assets/images/enterprise/maintenance/ip-exception-save.png b/assets/images/enterprise/maintenance/ip-exception-save.png deleted file mode 100644 index 5f1650a0b4..0000000000 Binary files a/assets/images/enterprise/maintenance/ip-exception-save.png and /dev/null differ diff --git a/assets/images/enterprise/maintenance/maintenance-mode-maintenance-page.png b/assets/images/enterprise/maintenance/maintenance-mode-maintenance-page.png deleted file mode 100644 index d18f0bb758..0000000000 Binary files a/assets/images/enterprise/maintenance/maintenance-mode-maintenance-page.png and /dev/null differ diff --git a/assets/images/enterprise/maintenance/maintenance-scheduled.png b/assets/images/enterprise/maintenance/maintenance-scheduled.png deleted file mode 100644 index 4135e9e8bd..0000000000 Binary files a/assets/images/enterprise/maintenance/maintenance-scheduled.png and /dev/null differ diff --git a/assets/images/enterprise/maintenance/schedule-maintenance-mode-two-hours.png b/assets/images/enterprise/maintenance/schedule-maintenance-mode-two-hours.png deleted file mode 100644 index 0fb3cf097a..0000000000 Binary files a/assets/images/enterprise/maintenance/schedule-maintenance-mode-two-hours.png and /dev/null differ diff --git a/assets/images/enterprise/management-console/export-license-usage-link.png b/assets/images/enterprise/management-console/export-license-usage-link.png new file mode 100644 index 0000000000..105cd3d9f0 Binary files /dev/null and b/assets/images/enterprise/management-console/export-license-usage-link.png differ diff --git a/assets/images/enterprise/repos/repo-change-confirm.png b/assets/images/enterprise/repos/repo-change-confirm.png deleted file mode 100644 index fb1afb6b10..0000000000 Binary files a/assets/images/enterprise/repos/repo-change-confirm.png and /dev/null differ diff --git a/assets/images/enterprise/repos/repo-change-select.png b/assets/images/enterprise/repos/repo-change-select.png deleted file mode 100644 index 161f81e6e4..0000000000 Binary files a/assets/images/enterprise/repos/repo-change-select.png and /dev/null differ diff --git a/assets/images/enterprise/settings/ent-new-explore.png b/assets/images/enterprise/settings/ent-new-explore.png index c1c2d72f31..b813f0b81d 100644 Binary files a/assets/images/enterprise/settings/ent-new-explore.png and b/assets/images/enterprise/settings/ent-new-explore.png differ diff --git a/assets/images/help/actions/environments-sidebar.png b/assets/images/help/actions/environments-sidebar.png deleted file mode 100644 index 65f1b84ec3..0000000000 Binary files a/assets/images/help/actions/environments-sidebar.png and /dev/null differ diff --git a/assets/images/help/actions/previous-run-attempts.png b/assets/images/help/actions/previous-run-attempts.png new file mode 100644 index 0000000000..965ab3841b Binary files /dev/null and b/assets/images/help/actions/previous-run-attempts.png differ diff --git a/assets/images/help/actions/re-run-selected-job.png b/assets/images/help/actions/re-run-selected-job.png new file mode 100644 index 0000000000..a50dab36c9 Binary files /dev/null and b/assets/images/help/actions/re-run-selected-job.png differ diff --git a/assets/images/help/actions/superlinter-workflow-sidebar.png b/assets/images/help/actions/superlinter-workflow-sidebar.png new file mode 100644 index 0000000000..2593e58aca Binary files /dev/null and b/assets/images/help/actions/superlinter-workflow-sidebar.png differ diff --git a/assets/images/help/copilot/vsc-sign-in.png b/assets/images/help/copilot/vsc-sign-in.png new file mode 100644 index 0000000000..f4b7189c94 Binary files /dev/null and b/assets/images/help/copilot/vsc-sign-in.png differ diff --git a/assets/images/help/copilot/vsc-sign-out.png b/assets/images/help/copilot/vsc-sign-out.png new file mode 100644 index 0000000000..6fd67ba9d4 Binary files /dev/null and b/assets/images/help/copilot/vsc-sign-out.png differ diff --git a/assets/images/help/enterprises/enterprise-licensing-tab.png b/assets/images/help/enterprises/enterprise-licensing-tab.png deleted file mode 100644 index f66c98c88d..0000000000 Binary files a/assets/images/help/enterprises/enterprise-licensing-tab.png and /dev/null differ diff --git a/assets/images/help/repository/PR-bypass-requirements-with-apps.png b/assets/images/help/repository/PR-bypass-requirements-with-apps.png deleted file mode 100644 index 4404f8e65a..0000000000 Binary files a/assets/images/help/repository/PR-bypass-requirements-with-apps.png and /dev/null differ diff --git a/assets/images/help/repository/PR-bypass-requirements.png b/assets/images/help/repository/PR-bypass-requirements.png deleted file mode 100644 index 12e8e22aee..0000000000 Binary files a/assets/images/help/repository/PR-bypass-requirements.png and /dev/null differ diff --git a/assets/images/help/repository/PR-required-check-passed-using-generic.png b/assets/images/help/repository/PR-required-check-passed-using-generic.png deleted file mode 100644 index 02b56f7552..0000000000 Binary files a/assets/images/help/repository/PR-required-check-passed-using-generic.png and /dev/null differ diff --git a/assets/images/help/repository/PR-required-check-skipped.png b/assets/images/help/repository/PR-required-check-skipped.png deleted file mode 100644 index 6c1fa4f8cd..0000000000 Binary files a/assets/images/help/repository/PR-required-check-skipped.png and /dev/null differ diff --git a/assets/images/help/repository/PR-review-required-code-owner.png b/assets/images/help/repository/PR-review-required-code-owner.png deleted file mode 100644 index 891b26139f..0000000000 Binary files a/assets/images/help/repository/PR-review-required-code-owner.png and /dev/null differ diff --git a/assets/images/help/repository/PR-review-required-dismissals-with-apps.png b/assets/images/help/repository/PR-review-required-dismissals-with-apps.png deleted file mode 100644 index 904838748f..0000000000 Binary files a/assets/images/help/repository/PR-review-required-dismissals-with-apps.png and /dev/null differ diff --git a/assets/images/help/repository/PR-review-required-dismissals.png b/assets/images/help/repository/PR-review-required-dismissals.png deleted file mode 100644 index 360311c946..0000000000 Binary files a/assets/images/help/repository/PR-review-required-dismissals.png and /dev/null differ diff --git a/assets/images/help/repository/PR-reviews-required-dismiss-stale.png b/assets/images/help/repository/PR-reviews-required-dismiss-stale.png deleted file mode 100644 index 106f14bbda..0000000000 Binary files a/assets/images/help/repository/PR-reviews-required-dismiss-stale.png and /dev/null differ diff --git a/assets/images/help/repository/PR-reviews-required-updated.png b/assets/images/help/repository/PR-reviews-required-updated.png deleted file mode 100644 index b487d44a1b..0000000000 Binary files a/assets/images/help/repository/PR-reviews-required-updated.png and /dev/null differ diff --git a/assets/images/help/repository/PR-reviews-required.png b/assets/images/help/repository/PR-reviews-required.png deleted file mode 100644 index 0b648f5031..0000000000 Binary files a/assets/images/help/repository/PR-reviews-required.png and /dev/null differ diff --git a/assets/images/help/repository/add-collaborator-user-repo.png b/assets/images/help/repository/add-collaborator-user-repo.png deleted file mode 100644 index 77ecf07dd6..0000000000 Binary files a/assets/images/help/repository/add-collaborator-user-repo.png and /dev/null differ diff --git a/assets/images/help/repository/allow-branch-deletions.png b/assets/images/help/repository/allow-branch-deletions.png deleted file mode 100644 index db18f077a0..0000000000 Binary files a/assets/images/help/repository/allow-branch-deletions.png and /dev/null differ diff --git a/assets/images/help/repository/allow-force-pushes-specify-who-with-apps.png b/assets/images/help/repository/allow-force-pushes-specify-who-with-apps.png deleted file mode 100644 index 0f53ceba7e..0000000000 Binary files a/assets/images/help/repository/allow-force-pushes-specify-who-with-apps.png and /dev/null differ diff --git a/assets/images/help/repository/allow-force-pushes-specify-who.png b/assets/images/help/repository/allow-force-pushes-specify-who.png deleted file mode 100644 index ffd46ebe14..0000000000 Binary files a/assets/images/help/repository/allow-force-pushes-specify-who.png and /dev/null differ diff --git a/assets/images/help/repository/allow-force-pushes.png b/assets/images/help/repository/allow-force-pushes.png deleted file mode 100644 index 19589362dc..0000000000 Binary files a/assets/images/help/repository/allow-force-pushes.png and /dev/null differ diff --git a/assets/images/help/repository/allow-merge-commits-no-dropdown.png b/assets/images/help/repository/allow-merge-commits-no-dropdown.png deleted file mode 100644 index b95b0e9026..0000000000 Binary files a/assets/images/help/repository/allow-merge-commits-no-dropdown.png and /dev/null differ diff --git a/assets/images/help/repository/allow-merge-commits.png b/assets/images/help/repository/allow-merge-commits.png deleted file mode 100644 index d0492c2032..0000000000 Binary files a/assets/images/help/repository/allow-merge-commits.png and /dev/null differ diff --git a/assets/images/help/repository/allow-rebase-merging-no-dropdown.png b/assets/images/help/repository/allow-rebase-merging-no-dropdown.png deleted file mode 100644 index a4fea766a7..0000000000 Binary files a/assets/images/help/repository/allow-rebase-merging-no-dropdown.png and /dev/null differ diff --git a/assets/images/help/repository/allow-rebase-merging.png b/assets/images/help/repository/allow-rebase-merging.png deleted file mode 100644 index 5780685c30..0000000000 Binary files a/assets/images/help/repository/allow-rebase-merging.png and /dev/null differ diff --git a/assets/images/help/repository/allow-squash-merging-no-dropdown.png b/assets/images/help/repository/allow-squash-merging-no-dropdown.png deleted file mode 100644 index 13707c4cc3..0000000000 Binary files a/assets/images/help/repository/allow-squash-merging-no-dropdown.png and /dev/null differ diff --git a/assets/images/help/repository/allow-squash-merging.png b/assets/images/help/repository/allow-squash-merging.png deleted file mode 100644 index 9f59730ee9..0000000000 Binary files a/assets/images/help/repository/allow-squash-merging.png and /dev/null differ diff --git a/assets/images/help/repository/choose-a-repository.png b/assets/images/help/repository/choose-a-repository.png deleted file mode 100644 index 5404786b5c..0000000000 Binary files a/assets/images/help/repository/choose-a-repository.png and /dev/null differ diff --git a/assets/images/help/repository/code-snippet-permalink-in-comment.png b/assets/images/help/repository/code-snippet-permalink-in-comment.png deleted file mode 100644 index 82ad1fede5..0000000000 Binary files a/assets/images/help/repository/code-snippet-permalink-in-comment.png and /dev/null differ diff --git a/assets/images/help/repository/copy-permalink-specific-line.png b/assets/images/help/repository/copy-permalink-specific-line.png deleted file mode 100644 index 7cf8d3c9d7..0000000000 Binary files a/assets/images/help/repository/copy-permalink-specific-line.png and /dev/null differ diff --git a/assets/images/help/repository/create-personal-repository-desc.png b/assets/images/help/repository/create-personal-repository-desc.png deleted file mode 100644 index 56cbc5f28e..0000000000 Binary files a/assets/images/help/repository/create-personal-repository-desc.png and /dev/null differ diff --git a/assets/images/help/repository/create-personal-repository-visibility.png b/assets/images/help/repository/create-personal-repository-visibility.png deleted file mode 100644 index b756cdeb00..0000000000 Binary files a/assets/images/help/repository/create-personal-repository-visibility.png and /dev/null differ diff --git a/assets/images/help/repository/passing-data-between-jobs-in-a-workflow-updated.png b/assets/images/help/repository/passing-data-between-jobs-in-a-workflow-updated.png deleted file mode 100644 index 2ad463ef7b..0000000000 Binary files a/assets/images/help/repository/passing-data-between-jobs-in-a-workflow-updated.png and /dev/null differ diff --git a/assets/images/help/repository/personal-repository-edit-readme.png b/assets/images/help/repository/personal-repository-edit-readme.png deleted file mode 100644 index 1869e03bf7..0000000000 Binary files a/assets/images/help/repository/personal-repository-edit-readme.png and /dev/null differ diff --git a/assets/images/help/repository/personal-repository-readme-template.png b/assets/images/help/repository/personal-repository-readme-template.png deleted file mode 100644 index f274ea9fe3..0000000000 Binary files a/assets/images/help/repository/personal-repository-readme-template.png and /dev/null differ diff --git a/assets/images/help/repository/pin-issue.png b/assets/images/help/repository/pin-issue.png deleted file mode 100644 index f5ba99dff4..0000000000 Binary files a/assets/images/help/repository/pin-issue.png and /dev/null differ diff --git a/assets/images/help/repository/pr-merge-full-commits.png b/assets/images/help/repository/pr-merge-full-commits.png deleted file mode 100644 index 9de8d9ed33..0000000000 Binary files a/assets/images/help/repository/pr-merge-full-commits.png and /dev/null differ diff --git a/assets/images/help/repository/pr-merge-rebase.png b/assets/images/help/repository/pr-merge-rebase.png deleted file mode 100644 index d0e7fbe567..0000000000 Binary files a/assets/images/help/repository/pr-merge-rebase.png and /dev/null differ diff --git a/assets/images/help/repository/pr-merge-squash.png b/assets/images/help/repository/pr-merge-squash.png deleted file mode 100644 index 91539a4867..0000000000 Binary files a/assets/images/help/repository/pr-merge-squash.png and /dev/null differ diff --git a/assets/images/help/repository/pr-template-file-name-docs.png b/assets/images/help/repository/pr-template-file-name-docs.png deleted file mode 100644 index f928efbf28..0000000000 Binary files a/assets/images/help/repository/pr-template-file-name-docs.png and /dev/null differ diff --git a/assets/images/help/repository/pr-template-file-name.png b/assets/images/help/repository/pr-template-file-name.png deleted file mode 100644 index 8b45172b93..0000000000 Binary files a/assets/images/help/repository/pr-template-file-name.png and /dev/null differ diff --git a/assets/images/help/repository/pr-template-hidden-directory.png b/assets/images/help/repository/pr-template-hidden-directory.png deleted file mode 100644 index 8e13dc2104..0000000000 Binary files a/assets/images/help/repository/pr-template-hidden-directory.png and /dev/null differ diff --git a/assets/images/help/repository/pr-template-multiple-hidden-directory.png b/assets/images/help/repository/pr-template-multiple-hidden-directory.png deleted file mode 100644 index 5ac833d124..0000000000 Binary files a/assets/images/help/repository/pr-template-multiple-hidden-directory.png and /dev/null differ diff --git a/assets/images/help/repository/preview-and-edit-button.png b/assets/images/help/repository/preview-and-edit-button.png deleted file mode 100644 index c10d49240e..0000000000 Binary files a/assets/images/help/repository/preview-and-edit-button.png and /dev/null differ diff --git a/assets/images/help/repository/previous-run-attempts.png b/assets/images/help/repository/previous-run-attempts.png deleted file mode 100644 index d71b3172f8..0000000000 Binary files a/assets/images/help/repository/previous-run-attempts.png and /dev/null differ diff --git a/assets/images/help/repository/prior-blame-button.png b/assets/images/help/repository/prior-blame-button.png deleted file mode 100644 index 32a61218d9..0000000000 Binary files a/assets/images/help/repository/prior-blame-button.png and /dev/null differ diff --git a/assets/images/help/repository/propose-file-change-quick-pull.png b/assets/images/help/repository/propose-file-change-quick-pull.png deleted file mode 100644 index fcfe0659d8..0000000000 Binary files a/assets/images/help/repository/propose-file-change-quick-pull.png and /dev/null differ diff --git a/assets/images/help/repository/propose_file_change_button.png b/assets/images/help/repository/propose_file_change_button.png deleted file mode 100644 index 9fb5d6e1ba..0000000000 Binary files a/assets/images/help/repository/propose_file_change_button.png and /dev/null differ diff --git a/assets/images/help/repository/prose_diff_attributes.png b/assets/images/help/repository/prose_diff_attributes.png index 1b693312b9..2d752f36c5 100644 Binary files a/assets/images/help/repository/prose_diff_attributes.png and b/assets/images/help/repository/prose_diff_attributes.png differ diff --git a/assets/images/help/repository/prose_diff_rendering.png b/assets/images/help/repository/prose_diff_rendering.png deleted file mode 100644 index b5649aa96d..0000000000 Binary files a/assets/images/help/repository/prose_diff_rendering.png and /dev/null differ diff --git a/assets/images/help/repository/protecting-branch-loose-status.png b/assets/images/help/repository/protecting-branch-loose-status.png deleted file mode 100644 index fe1d977c5a..0000000000 Binary files a/assets/images/help/repository/protecting-branch-loose-status.png and /dev/null differ diff --git a/assets/images/help/repository/raw-file-button.png b/assets/images/help/repository/raw-file-button.png index 314de3d40a..f4fddf7745 100644 Binary files a/assets/images/help/repository/raw-file-button.png and b/assets/images/help/repository/raw-file-button.png differ diff --git a/assets/images/help/repository/readme-automatic-toc.png b/assets/images/help/repository/readme-automatic-toc.png index 9b1030e942..9855dcaa30 100644 Binary files a/assets/images/help/repository/readme-automatic-toc.png and b/assets/images/help/repository/readme-automatic-toc.png differ diff --git a/assets/images/help/repository/readme-links.png b/assets/images/help/repository/readme-links.png index 86928b4994..908946982e 100644 Binary files a/assets/images/help/repository/readme-links.png and b/assets/images/help/repository/readme-links.png differ diff --git a/assets/images/help/repository/remotes-url.png b/assets/images/help/repository/remotes-url.png index ccc07620c5..734846db0c 100644 Binary files a/assets/images/help/repository/remotes-url.png and b/assets/images/help/repository/remotes-url.png differ diff --git a/assets/images/help/repository/rename-repo-during-transfer.png b/assets/images/help/repository/rename-repo-during-transfer.png deleted file mode 100644 index 521f66b1c4..0000000000 Binary files a/assets/images/help/repository/rename-repo-during-transfer.png and /dev/null differ diff --git a/assets/images/help/repository/render_webgl_error.png b/assets/images/help/repository/render_webgl_error.png deleted file mode 100644 index 5623cf2e56..0000000000 Binary files a/assets/images/help/repository/render_webgl_error.png and /dev/null differ diff --git a/assets/images/help/repository/rendered-code-snippet.png b/assets/images/help/repository/rendered-code-snippet.png index d09e117917..59645ef077 100644 Binary files a/assets/images/help/repository/rendered-code-snippet.png and b/assets/images/help/repository/rendered-code-snippet.png differ diff --git a/assets/images/help/repository/rendered-pdf.png b/assets/images/help/repository/rendered-pdf.png deleted file mode 100644 index c0723f529a..0000000000 Binary files a/assets/images/help/repository/rendered-pdf.png and /dev/null differ diff --git a/assets/images/help/repository/rendered_prose_changes.png b/assets/images/help/repository/rendered_prose_changes.png index f324baaee6..9f69e3effa 100644 Binary files a/assets/images/help/repository/rendered_prose_changes.png and b/assets/images/help/repository/rendered_prose_changes.png differ diff --git a/assets/images/help/repository/rendered_prose_diff.png b/assets/images/help/repository/rendered_prose_diff.png index f35a3357fe..664a2d9dfc 100644 Binary files a/assets/images/help/repository/rendered_prose_diff.png and b/assets/images/help/repository/rendered_prose_diff.png differ diff --git a/assets/images/help/repository/repo-actions-watch.png b/assets/images/help/repository/repo-actions-watch.png index 4c3cbaaae9..71cfab646f 100644 Binary files a/assets/images/help/repository/repo-actions-watch.png and b/assets/images/help/repository/repo-actions-watch.png differ diff --git a/assets/images/help/repository/repo-change-confirm.png b/assets/images/help/repository/repo-change-confirm.png deleted file mode 100644 index 9c322ec52e..0000000000 Binary files a/assets/images/help/repository/repo-change-confirm.png and /dev/null differ diff --git a/assets/images/help/repository/repo-change-select.png b/assets/images/help/repository/repo-change-select.png deleted file mode 100644 index ac15f7a64d..0000000000 Binary files a/assets/images/help/repository/repo-change-select.png and /dev/null differ diff --git a/assets/images/help/repository/repo-change-vis.png b/assets/images/help/repository/repo-change-vis.png deleted file mode 100644 index 455175dca9..0000000000 Binary files a/assets/images/help/repository/repo-change-vis.png and /dev/null differ diff --git a/assets/images/help/repository/repo-delete-confirmation.png b/assets/images/help/repository/repo-delete-confirmation.png deleted file mode 100644 index 2b3a939e55..0000000000 Binary files a/assets/images/help/repository/repo-delete-confirmation.png and /dev/null differ diff --git a/assets/images/help/repository/repo-delete.png b/assets/images/help/repository/repo-delete.png deleted file mode 100644 index b2c4646064..0000000000 Binary files a/assets/images/help/repository/repo-delete.png and /dev/null differ diff --git a/assets/images/help/repository/repo-leave-confirmation.png b/assets/images/help/repository/repo-leave-confirmation.png deleted file mode 100644 index 1913ce871d..0000000000 Binary files a/assets/images/help/repository/repo-leave-confirmation.png and /dev/null differ diff --git a/assets/images/help/repository/repo-leave.png b/assets/images/help/repository/repo-leave.png deleted file mode 100644 index baa9cfe789..0000000000 Binary files a/assets/images/help/repository/repo-leave.png and /dev/null differ diff --git a/assets/images/help/repository/repo-license-indicator.png b/assets/images/help/repository/repo-license-indicator.png index ad3403d1d1..19c232b2ad 100644 Binary files a/assets/images/help/repository/repo-license-indicator.png and b/assets/images/help/repository/repo-license-indicator.png differ diff --git a/assets/images/help/repository/repo-nav-insights-tab.png b/assets/images/help/repository/repo-nav-insights-tab.png index d82452e878..66225732ac 100644 Binary files a/assets/images/help/repository/repo-nav-insights-tab.png and b/assets/images/help/repository/repo-nav-insights-tab.png differ diff --git a/assets/images/help/repository/repo-settings-collab-add.png b/assets/images/help/repository/repo-settings-collab-add.png deleted file mode 100644 index c04cc9efe5..0000000000 Binary files a/assets/images/help/repository/repo-settings-collab-add.png and /dev/null differ diff --git a/assets/images/help/repository/repo-settings-collab-autofill.png b/assets/images/help/repository/repo-settings-collab-autofill.png deleted file mode 100644 index 74aff91ebb..0000000000 Binary files a/assets/images/help/repository/repo-settings-collab-autofill.png and /dev/null differ diff --git a/assets/images/help/repository/repo-settings-issues-pull-requests.png b/assets/images/help/repository/repo-settings-issues-pull-requests.png index 645bc5cf0e..6b65e503eb 100644 Binary files a/assets/images/help/repository/repo-settings-issues-pull-requests.png and b/assets/images/help/repository/repo-settings-issues-pull-requests.png differ diff --git a/assets/images/help/repository/repo-tabs-issues.png b/assets/images/help/repository/repo-tabs-issues.png index 776b24629e..2b108d5d72 100644 Binary files a/assets/images/help/repository/repo-tabs-issues.png and b/assets/images/help/repository/repo-tabs-issues.png differ diff --git a/assets/images/help/repository/repo-tabs-pull-requests.png b/assets/images/help/repository/repo-tabs-pull-requests.png index 6d0fbe8bc1..e77b5930f1 100644 Binary files a/assets/images/help/repository/repo-tabs-pull-requests.png and b/assets/images/help/repository/repo-tabs-pull-requests.png differ diff --git a/assets/images/help/repository/repo-transfer-complete.png b/assets/images/help/repository/repo-transfer-complete.png deleted file mode 100644 index 8a2feaf5a7..0000000000 Binary files a/assets/images/help/repository/repo-transfer-complete.png and /dev/null differ diff --git a/assets/images/help/repository/repo-transfer-free-plan-warnings.png b/assets/images/help/repository/repo-transfer-free-plan-warnings.png deleted file mode 100644 index e146840252..0000000000 Binary files a/assets/images/help/repository/repo-transfer-free-plan-warnings.png and /dev/null differ diff --git a/assets/images/help/repository/repo-transfer-overview.png b/assets/images/help/repository/repo-transfer-overview.png deleted file mode 100644 index f56c1bbc2f..0000000000 Binary files a/assets/images/help/repository/repo-transfer-overview.png and /dev/null differ diff --git a/assets/images/help/repository/repo-transfer.png b/assets/images/help/repository/repo-transfer.png deleted file mode 100644 index 80c8844196..0000000000 Binary files a/assets/images/help/repository/repo-transfer.png and /dev/null differ diff --git a/assets/images/help/repository/repo-username-match.png b/assets/images/help/repository/repo-username-match.png deleted file mode 100644 index c6d722a619..0000000000 Binary files a/assets/images/help/repository/repo-username-match.png and /dev/null differ diff --git a/assets/images/help/repository/repo-with-readme.png b/assets/images/help/repository/repo-with-readme.png deleted file mode 100644 index b9d562815e..0000000000 Binary files a/assets/images/help/repository/repo-with-readme.png and /dev/null differ diff --git a/assets/images/help/repository/report-content-modal.png b/assets/images/help/repository/report-content-modal.png deleted file mode 100644 index bbb47a8a15..0000000000 Binary files a/assets/images/help/repository/report-content-modal.png and /dev/null differ diff --git a/assets/images/help/repository/report-content-to-support-form.png b/assets/images/help/repository/report-content-to-support-form.png deleted file mode 100644 index e0b279c9a0..0000000000 Binary files a/assets/images/help/repository/report-content-to-support-form.png and /dev/null differ diff --git a/assets/images/help/repository/reported-content-kebab.png b/assets/images/help/repository/reported-content-kebab.png new file mode 100644 index 0000000000..b11fc038ce Binary files /dev/null and b/assets/images/help/repository/reported-content-kebab.png differ diff --git a/assets/images/help/repository/reported-content-mark-report-as-resolved.png b/assets/images/help/repository/reported-content-mark-report-as-resolved.png deleted file mode 100644 index c2f4a90fb6..0000000000 Binary files a/assets/images/help/repository/reported-content-mark-report-as-resolved.png and /dev/null differ diff --git a/assets/images/help/repository/reported-content-mark-report-as-unresolved.png b/assets/images/help/repository/reported-content-mark-report-as-unresolved.png deleted file mode 100644 index 8684933d75..0000000000 Binary files a/assets/images/help/repository/reported-content-mark-report-as-unresolved.png and /dev/null differ diff --git a/assets/images/help/repository/reported-content-opt-in-checkbox.png b/assets/images/help/repository/reported-content-opt-in-checkbox.png deleted file mode 100644 index 5dc3cae277..0000000000 Binary files a/assets/images/help/repository/reported-content-opt-in-checkbox.png and /dev/null differ diff --git a/assets/images/help/repository/reported-content-report-view-content.png b/assets/images/help/repository/reported-content-report-view-content.png deleted file mode 100644 index f9d4fd2214..0000000000 Binary files a/assets/images/help/repository/reported-content-report-view-content.png and /dev/null differ diff --git a/assets/images/help/repository/reported-content-resolved-tab.png b/assets/images/help/repository/reported-content-resolved-tab.png deleted file mode 100644 index 85fcb26074..0000000000 Binary files a/assets/images/help/repository/reported-content-resolved-tab.png and /dev/null differ diff --git a/assets/images/help/repository/repository-license-picker.png b/assets/images/help/repository/repository-license-picker.png index 9990e09eae..8044d7ed0e 100644 Binary files a/assets/images/help/repository/repository-license-picker.png and b/assets/images/help/repository/repository-license-picker.png differ diff --git a/assets/images/help/repository/repository-name-change.png b/assets/images/help/repository/repository-name-change.png deleted file mode 100644 index f828f77b27..0000000000 Binary files a/assets/images/help/repository/repository-name-change.png and /dev/null differ diff --git a/assets/images/help/repository/repository-options-branch.png b/assets/images/help/repository/repository-options-branch.png deleted file mode 100644 index 6083547413..0000000000 Binary files a/assets/images/help/repository/repository-options-branch.png and /dev/null differ diff --git a/assets/images/help/repository/repository-options-defaultbranch-change.png b/assets/images/help/repository/repository-options-defaultbranch-change.png deleted file mode 100644 index 86ba375f5d..0000000000 Binary files a/assets/images/help/repository/repository-options-defaultbranch-change.png and /dev/null differ diff --git a/assets/images/help/repository/repository-options-defaultbranch-drop-down.png b/assets/images/help/repository/repository-options-defaultbranch-drop-down.png deleted file mode 100644 index 47c05d57d7..0000000000 Binary files a/assets/images/help/repository/repository-options-defaultbranch-drop-down.png and /dev/null differ diff --git a/assets/images/help/repository/repository-options-defaultbranch-i-understand.png b/assets/images/help/repository/repository-options-defaultbranch-i-understand.png deleted file mode 100644 index ab7719c4d8..0000000000 Binary files a/assets/images/help/repository/repository-options-defaultbranch-i-understand.png and /dev/null differ diff --git a/assets/images/help/repository/repository-options-defaultbranch-update.png b/assets/images/help/repository/repository-options-defaultbranch-update.png deleted file mode 100644 index 340f063814..0000000000 Binary files a/assets/images/help/repository/repository-options-defaultbranch-update.png and /dev/null differ diff --git a/assets/images/help/repository/repository-permissions-list.png b/assets/images/help/repository/repository-permissions-list.png deleted file mode 100644 index 665c3d00d1..0000000000 Binary files a/assets/images/help/repository/repository-permissions-list.png and /dev/null differ diff --git a/assets/images/help/repository/req-status-check-conflicting-merge-commits.png b/assets/images/help/repository/req-status-check-conflicting-merge-commits.png deleted file mode 100644 index f2c3d1533e..0000000000 Binary files a/assets/images/help/repository/req-status-check-conflicting-merge-commits.png and /dev/null differ diff --git a/assets/images/help/repository/require-conversation-resolution.png b/assets/images/help/repository/require-conversation-resolution.png deleted file mode 100644 index 52f4bad4b0..0000000000 Binary files a/assets/images/help/repository/require-conversation-resolution.png and /dev/null differ diff --git a/assets/images/help/repository/require-merge-queue.png b/assets/images/help/repository/require-merge-queue.png deleted file mode 100644 index ae84d0ab09..0000000000 Binary files a/assets/images/help/repository/require-merge-queue.png and /dev/null differ diff --git a/assets/images/help/repository/require-signed-commits.png b/assets/images/help/repository/require-signed-commits.png deleted file mode 100644 index 66def0b1a7..0000000000 Binary files a/assets/images/help/repository/require-signed-commits.png and /dev/null differ diff --git a/assets/images/help/repository/require-signoffs.png b/assets/images/help/repository/require-signoffs.png deleted file mode 100644 index f24a5972a6..0000000000 Binary files a/assets/images/help/repository/require-signoffs.png and /dev/null differ diff --git a/assets/images/help/repository/require-successful-deployment.png b/assets/images/help/repository/require-successful-deployment.png deleted file mode 100644 index 0973b1c9ee..0000000000 Binary files a/assets/images/help/repository/require-successful-deployment.png and /dev/null differ diff --git a/assets/images/help/repository/required-linear-history.png b/assets/images/help/repository/required-linear-history.png deleted file mode 100644 index 2b2c02bc23..0000000000 Binary files a/assets/images/help/repository/required-linear-history.png and /dev/null differ diff --git a/assets/images/help/repository/required-status-checks.png b/assets/images/help/repository/required-status-checks.png deleted file mode 100644 index 171bf510d9..0000000000 Binary files a/assets/images/help/repository/required-status-checks.png and /dev/null differ diff --git a/assets/images/help/repository/required-statuses-list.png b/assets/images/help/repository/required-statuses-list.png deleted file mode 100644 index 2a2bdfe37a..0000000000 Binary files a/assets/images/help/repository/required-statuses-list.png and /dev/null differ diff --git a/assets/images/help/repository/rerun-checks-drop-down-updated.png b/assets/images/help/repository/rerun-checks-drop-down-updated.png deleted file mode 100644 index 42c6e48edc..0000000000 Binary files a/assets/images/help/repository/rerun-checks-drop-down-updated.png and /dev/null differ diff --git a/assets/images/help/repository/rerun-checks-drop-down.png b/assets/images/help/repository/rerun-checks-drop-down.png deleted file mode 100644 index dddc8f2819..0000000000 Binary files a/assets/images/help/repository/rerun-checks-drop-down.png and /dev/null differ diff --git a/assets/images/help/repository/restrict-branch-create.png b/assets/images/help/repository/restrict-branch-create.png deleted file mode 100644 index 68ccd9d7c2..0000000000 Binary files a/assets/images/help/repository/restrict-branch-create.png and /dev/null differ diff --git a/assets/images/help/repository/restrict-branch.png b/assets/images/help/repository/restrict-branch.png deleted file mode 100644 index 96911eb615..0000000000 Binary files a/assets/images/help/repository/restrict-branch.png and /dev/null differ diff --git a/assets/images/help/repository/run-name.png b/assets/images/help/repository/run-name.png deleted file mode 100644 index 7a0083bbf6..0000000000 Binary files a/assets/images/help/repository/run-name.png and /dev/null differ diff --git a/assets/images/help/repository/sample-issue-form.png b/assets/images/help/repository/sample-issue-form.png index c8235d4443..8ab0b3e1bc 100644 Binary files a/assets/images/help/repository/sample-issue-form.png and b/assets/images/help/repository/sample-issue-form.png differ diff --git a/assets/images/help/repository/search-based-code-navigation-link.png b/assets/images/help/repository/search-based-code-navigation-link.png index 2d0f236b7b..224db5620f 100644 Binary files a/assets/images/help/repository/search-based-code-navigation-link.png and b/assets/images/help/repository/search-based-code-navigation-link.png differ diff --git a/assets/images/help/repository/search-log-box-updated-2.png b/assets/images/help/repository/search-log-box-updated-2.png deleted file mode 100644 index 2b4efdb9bf..0000000000 Binary files a/assets/images/help/repository/search-log-box-updated-2.png and /dev/null differ diff --git a/assets/images/help/repository/searching_csvs.gif b/assets/images/help/repository/searching_csvs.gif deleted file mode 100644 index 05d51f5956..0000000000 Binary files a/assets/images/help/repository/searching_csvs.gif and /dev/null differ diff --git a/assets/images/help/repository/security-and-analysis-disable-or-enable-fpt-private.png b/assets/images/help/repository/security-and-analysis-disable-or-enable-fpt-private.png deleted file mode 100644 index a48172d020..0000000000 Binary files a/assets/images/help/repository/security-and-analysis-disable-or-enable-fpt-private.png and /dev/null differ diff --git a/assets/images/help/repository/security-and-analysis-disable-or-enable-ghec-private.png b/assets/images/help/repository/security-and-analysis-disable-or-enable-ghec-private.png deleted file mode 100644 index 4284a57953..0000000000 Binary files a/assets/images/help/repository/security-and-analysis-disable-or-enable-ghec-private.png and /dev/null differ diff --git a/assets/images/help/repository/security-and-analysis-security-alerts-person-or-team-search.png b/assets/images/help/repository/security-and-analysis-security-alerts-person-or-team-search.png deleted file mode 100644 index a5cab254e0..0000000000 Binary files a/assets/images/help/repository/security-and-analysis-security-alerts-person-or-team-search.png and /dev/null differ diff --git a/assets/images/help/repository/security-and-analysis-security-alerts-save-changes.png b/assets/images/help/repository/security-and-analysis-security-alerts-save-changes.png deleted file mode 100644 index 930ebb9d61..0000000000 Binary files a/assets/images/help/repository/security-and-analysis-security-alerts-save-changes.png and /dev/null differ diff --git a/assets/images/help/repository/security-and-analysis-security-alerts-username-x.png b/assets/images/help/repository/security-and-analysis-security-alerts-username-x.png index d71543df67..675075a186 100644 Binary files a/assets/images/help/repository/security-and-analysis-security-alerts-username-x.png and b/assets/images/help/repository/security-and-analysis-security-alerts-username-x.png differ diff --git a/assets/images/help/repository/security-and-analysis-tab.png b/assets/images/help/repository/security-and-analysis-tab.png deleted file mode 100644 index bc0aee2711..0000000000 Binary files a/assets/images/help/repository/security-and-analysis-tab.png and /dev/null differ diff --git a/assets/images/help/repository/share-to-profile.png b/assets/images/help/repository/share-to-profile.png deleted file mode 100644 index b5b9a7eccb..0000000000 Binary files a/assets/images/help/repository/share-to-profile.png and /dev/null differ diff --git a/assets/images/help/repository/sidebar-code-scanning-alerts.png b/assets/images/help/repository/sidebar-code-scanning-alerts.png deleted file mode 100644 index 1beb06a90a..0000000000 Binary files a/assets/images/help/repository/sidebar-code-scanning-alerts.png and /dev/null differ diff --git a/assets/images/help/repository/skipped-required-run-details.png b/assets/images/help/repository/skipped-required-run-details.png deleted file mode 100644 index 4832903bed..0000000000 Binary files a/assets/images/help/repository/skipped-required-run-details.png and /dev/null differ diff --git a/assets/images/help/repository/social-preview-transparency.png b/assets/images/help/repository/social-preview-transparency.png deleted file mode 100644 index 507bc29cb1..0000000000 Binary files a/assets/images/help/repository/social-preview-transparency.png and /dev/null differ diff --git a/assets/images/help/repository/source-render-toggle-geojson.png b/assets/images/help/repository/source-render-toggle-geojson.png deleted file mode 100644 index 3b4cf6dbc8..0000000000 Binary files a/assets/images/help/repository/source-render-toggle-geojson.png and /dev/null differ diff --git a/assets/images/help/repository/start-commit-choose-where-to-commit.png b/assets/images/help/repository/start-commit-choose-where-to-commit.png deleted file mode 100644 index 83320fed1a..0000000000 Binary files a/assets/images/help/repository/start-commit-choose-where-to-commit.png and /dev/null differ diff --git a/assets/images/help/repository/start-commit-commit-new-file.png b/assets/images/help/repository/start-commit-commit-new-file.png index f6e1eee130..27a339d082 100644 Binary files a/assets/images/help/repository/start-commit-commit-new-file.png and b/assets/images/help/repository/start-commit-commit-new-file.png differ diff --git a/assets/images/help/repository/super-linter-workflow-results-updated-2.png b/assets/images/help/repository/super-linter-workflow-results-updated-2.png deleted file mode 100644 index 562d2ed860..0000000000 Binary files a/assets/images/help/repository/super-linter-workflow-results-updated-2.png and /dev/null differ diff --git a/assets/images/help/repository/superlinter-lint-code-base-job-updated.png b/assets/images/help/repository/superlinter-lint-code-base-job-updated.png deleted file mode 100644 index 788089fe59..0000000000 Binary files a/assets/images/help/repository/superlinter-lint-code-base-job-updated.png and /dev/null differ diff --git a/assets/images/help/repository/superlinter-workflow-sidebar.png b/assets/images/help/repository/superlinter-workflow-sidebar.png deleted file mode 100644 index 732c7496dc..0000000000 Binary files a/assets/images/help/repository/superlinter-workflow-sidebar.png and /dev/null differ diff --git a/assets/images/help/repository/template-chooser-report-abuse.png b/assets/images/help/repository/template-chooser-report-abuse.png deleted file mode 100644 index 7bdc1e1bee..0000000000 Binary files a/assets/images/help/repository/template-chooser-report-abuse.png and /dev/null differ diff --git a/assets/images/help/repository/template-config-file-content.png b/assets/images/help/repository/template-config-file-content.png deleted file mode 100644 index bc14d288bf..0000000000 Binary files a/assets/images/help/repository/template-config-file-content.png and /dev/null differ diff --git a/assets/images/help/repository/template-config-file-name.png b/assets/images/help/repository/template-config-file-name.png deleted file mode 100644 index d4970e2cef..0000000000 Binary files a/assets/images/help/repository/template-config-file-name.png and /dev/null differ diff --git a/assets/images/help/repository/template-drop-down.png b/assets/images/help/repository/template-drop-down.png deleted file mode 100644 index 0071050915..0000000000 Binary files a/assets/images/help/repository/template-drop-down.png and /dev/null differ diff --git a/assets/images/help/repository/template-repository-checkbox.png b/assets/images/help/repository/template-repository-checkbox.png deleted file mode 100644 index 4fe781eb8e..0000000000 Binary files a/assets/images/help/repository/template-repository-checkbox.png and /dev/null differ diff --git a/assets/images/help/repository/temporary-interaction-limits-options.png b/assets/images/help/repository/temporary-interaction-limits-options.png deleted file mode 100644 index 364206fe37..0000000000 Binary files a/assets/images/help/repository/temporary-interaction-limits-options.png and /dev/null differ diff --git a/assets/images/help/repository/transfer-issue-button.png b/assets/images/help/repository/transfer-issue-button.png deleted file mode 100644 index 56e0af8ec7..0000000000 Binary files a/assets/images/help/repository/transfer-issue-button.png and /dev/null differ diff --git a/assets/images/help/repository/transfer-issue.png b/assets/images/help/repository/transfer-issue.png deleted file mode 100644 index 7ada6750c5..0000000000 Binary files a/assets/images/help/repository/transfer-issue.png and /dev/null differ diff --git a/assets/images/help/repository/transfer-repo-new-owner-name.png b/assets/images/help/repository/transfer-repo-new-owner-name.png deleted file mode 100644 index 89bb82290e..0000000000 Binary files a/assets/images/help/repository/transfer-repo-new-owner-name.png and /dev/null differ diff --git a/assets/images/help/repository/unarchive-repository-warnings.png b/assets/images/help/repository/unarchive-repository-warnings.png deleted file mode 100644 index d269921be6..0000000000 Binary files a/assets/images/help/repository/unarchive-repository-warnings.png and /dev/null differ diff --git a/assets/images/help/repository/unarchive-repository.png b/assets/images/help/repository/unarchive-repository.png deleted file mode 100644 index ce4290325e..0000000000 Binary files a/assets/images/help/repository/unarchive-repository.png and /dev/null differ diff --git a/assets/images/help/repository/update-branch-button.png b/assets/images/help/repository/update-branch-button.png deleted file mode 100644 index 39694f5e96..0000000000 Binary files a/assets/images/help/repository/update-branch-button.png and /dev/null differ diff --git a/assets/images/help/repository/upload-files-button.png b/assets/images/help/repository/upload-files-button.png index 403b586246..a4371a54ad 100644 Binary files a/assets/images/help/repository/upload-files-button.png and b/assets/images/help/repository/upload-files-button.png differ diff --git a/assets/images/help/repository/upload-files-drag-and-drop.png b/assets/images/help/repository/upload-files-drag-and-drop.png deleted file mode 100644 index 2aa46c82d7..0000000000 Binary files a/assets/images/help/repository/upload-files-drag-and-drop.png and /dev/null differ diff --git a/assets/images/help/repository/used-by-section.png b/assets/images/help/repository/used-by-section.png index 84441a2198..313c5fc2dc 100644 Binary files a/assets/images/help/repository/used-by-section.png and b/assets/images/help/repository/used-by-section.png differ diff --git a/assets/images/help/repository/user-account-repo-settings-collaborators.png b/assets/images/help/repository/user-account-repo-settings-collaborators.png deleted file mode 100644 index cf494c44db..0000000000 Binary files a/assets/images/help/repository/user-account-repo-settings-collaborators.png and /dev/null differ diff --git a/assets/images/help/repository/username-repo-with-readme.png b/assets/images/help/repository/username-repo-with-readme.png deleted file mode 100644 index 1864765157..0000000000 Binary files a/assets/images/help/repository/username-repo-with-readme.png and /dev/null differ diff --git a/assets/images/help/repository/view-git-blame-specific-line.png b/assets/images/help/repository/view-git-blame-specific-line.png deleted file mode 100644 index 7c02619530..0000000000 Binary files a/assets/images/help/repository/view-git-blame-specific-line.png and /dev/null differ diff --git a/assets/images/help/repository/view-run-billable-time.png b/assets/images/help/repository/view-run-billable-time.png deleted file mode 100644 index fc5bd523a6..0000000000 Binary files a/assets/images/help/repository/view-run-billable-time.png and /dev/null differ diff --git a/assets/images/help/repository/view_raw.png b/assets/images/help/repository/view_raw.png deleted file mode 100644 index 83fdb6ba32..0000000000 Binary files a/assets/images/help/repository/view_raw.png and /dev/null differ diff --git a/assets/images/help/repository/workflow-run-kebab-horizontal-icon-updated-2.png b/assets/images/help/repository/workflow-run-kebab-horizontal-icon-updated-2.png deleted file mode 100644 index 96d5f6a3d1..0000000000 Binary files a/assets/images/help/repository/workflow-run-kebab-horizontal-icon-updated-2.png and /dev/null differ diff --git a/assets/images/help/repository/write-commit-message-co-author-trailer.png b/assets/images/help/repository/write-commit-message-co-author-trailer.png deleted file mode 100644 index 26593de3b0..0000000000 Binary files a/assets/images/help/repository/write-commit-message-co-author-trailer.png and /dev/null differ diff --git a/assets/images/help/repository/write-commit-message-on-behalf-of-trailer.png b/assets/images/help/repository/write-commit-message-on-behalf-of-trailer.png deleted file mode 100644 index e461560835..0000000000 Binary files a/assets/images/help/repository/write-commit-message-on-behalf-of-trailer.png and /dev/null differ diff --git a/assets/images/help/repository/write-commit-message-quick-pull.png b/assets/images/help/repository/write-commit-message-quick-pull.png deleted file mode 100644 index aba09172b6..0000000000 Binary files a/assets/images/help/repository/write-commit-message-quick-pull.png and /dev/null differ diff --git a/assets/images/help/repository/zenodo_authorize.png b/assets/images/help/repository/zenodo_authorize.png deleted file mode 100644 index 45dec28b24..0000000000 Binary files a/assets/images/help/repository/zenodo_authorize.png and /dev/null differ diff --git a/assets/images/help/repository/zenodo_github_page.png b/assets/images/help/repository/zenodo_github_page.png deleted file mode 100644 index b830b78416..0000000000 Binary files a/assets/images/help/repository/zenodo_github_page.png and /dev/null differ diff --git a/assets/images/help/repository/zenodo_login.png b/assets/images/help/repository/zenodo_login.png deleted file mode 100644 index 59b54a0328..0000000000 Binary files a/assets/images/help/repository/zenodo_login.png and /dev/null differ diff --git a/assets/images/help/repository/zenodo_login_with_github.png b/assets/images/help/repository/zenodo_login_with_github.png deleted file mode 100644 index d6a3f43485..0000000000 Binary files a/assets/images/help/repository/zenodo_login_with_github.png and /dev/null differ diff --git a/assets/images/help/repository/zenodo_toggle_on.png b/assets/images/help/repository/zenodo_toggle_on.png deleted file mode 100644 index dfdf04cb4e..0000000000 Binary files a/assets/images/help/repository/zenodo_toggle_on.png and /dev/null differ diff --git a/assets/images/help/settings/settings-sidebar-repositories.png b/assets/images/help/settings/settings-sidebar-repositories.png deleted file mode 100644 index 39210629e9..0000000000 Binary files a/assets/images/help/settings/settings-sidebar-repositories.png and /dev/null differ diff --git a/assets/images/help/sponsors/link-account-button.png b/assets/images/help/sponsors/link-account-button.png deleted file mode 100644 index b23c080276..0000000000 Binary files a/assets/images/help/sponsors/link-account-button.png and /dev/null differ diff --git a/assets/images/help/sponsors/new-update-button.png b/assets/images/help/sponsors/new-update-button.png deleted file mode 100644 index 81885bdf39..0000000000 Binary files a/assets/images/help/sponsors/new-update-button.png and /dev/null differ diff --git a/assets/images/help/sponsors/pay-full-amount-link.png b/assets/images/help/sponsors/pay-full-amount-link.png new file mode 100644 index 0000000000..f85f63580b Binary files /dev/null and b/assets/images/help/sponsors/pay-full-amount-link.png differ diff --git a/assets/images/help/sponsors/pay-prorated-amount-link.png b/assets/images/help/sponsors/pay-prorated-amount-link.png deleted file mode 100644 index 5d1c615b1e..0000000000 Binary files a/assets/images/help/sponsors/pay-prorated-amount-link.png and /dev/null differ diff --git a/assets/images/help/sponsors/select-highlighted-org-members.png b/assets/images/help/sponsors/select-highlighted-org-members.png index 47bf785e34..d300365e66 100644 Binary files a/assets/images/help/sponsors/select-highlighted-org-members.png and b/assets/images/help/sponsors/select-highlighted-org-members.png differ diff --git a/assets/images/help/sponsors/select-tiers-email.png b/assets/images/help/sponsors/select-tiers-email.png deleted file mode 100644 index 4b7d21ea2a..0000000000 Binary files a/assets/images/help/sponsors/select-tiers-email.png and /dev/null differ diff --git a/assets/images/help/sponsors/set-a-goal-button.png b/assets/images/help/sponsors/set-a-goal-button.png deleted file mode 100644 index 13bdcad4b2..0000000000 Binary files a/assets/images/help/sponsors/set-a-goal-button.png and /dev/null differ diff --git a/assets/images/help/sponsors/settings-tab.png b/assets/images/help/sponsors/settings-tab.png deleted file mode 100644 index ce98544d47..0000000000 Binary files a/assets/images/help/sponsors/settings-tab.png and /dev/null differ diff --git a/assets/images/help/sponsors/show-one-time-tiers.png b/assets/images/help/sponsors/show-one-time-tiers.png deleted file mode 100644 index 197e5b32ee..0000000000 Binary files a/assets/images/help/sponsors/show-one-time-tiers.png and /dev/null differ diff --git a/assets/images/help/sponsors/sponsor-as-drop-down-menu.png b/assets/images/help/sponsors/sponsor-as-drop-down-menu.png deleted file mode 100644 index 9df32d3db3..0000000000 Binary files a/assets/images/help/sponsors/sponsor-as-drop-down-menu.png and /dev/null differ diff --git a/assets/images/help/sponsors/sponsor-developer-button.png b/assets/images/help/sponsors/sponsor-developer-button.png deleted file mode 100644 index a032ecf75d..0000000000 Binary files a/assets/images/help/sponsors/sponsor-developer-button.png and /dev/null differ diff --git a/assets/images/help/sponsors/sponsor-org-button.png b/assets/images/help/sponsors/sponsor-org-button.png deleted file mode 100644 index 4efa0dab50..0000000000 Binary files a/assets/images/help/sponsors/sponsor-org-button.png and /dev/null differ diff --git a/assets/images/help/sponsors/sponsor-set-up-button.png b/assets/images/help/sponsors/sponsor-set-up-button.png deleted file mode 100644 index e7677aab97..0000000000 Binary files a/assets/images/help/sponsors/sponsor-set-up-button.png and /dev/null differ diff --git a/assets/images/help/sponsors/sponsor-tiers-tab.png b/assets/images/help/sponsors/sponsor-tiers-tab.png deleted file mode 100644 index 49c43d2114..0000000000 Binary files a/assets/images/help/sponsors/sponsor-tiers-tab.png and /dev/null differ diff --git a/assets/images/help/sponsors/sponsoring-as-drop-down-menu.png b/assets/images/help/sponsors/sponsoring-as-drop-down-menu.png deleted file mode 100644 index 39c2c65a72..0000000000 Binary files a/assets/images/help/sponsors/sponsoring-as-drop-down-menu.png and /dev/null differ diff --git a/assets/images/help/sponsors/sponsoring-tab.png b/assets/images/help/sponsors/sponsoring-tab.png index 5189ba48bb..b9dea3f54e 100644 Binary files a/assets/images/help/sponsors/sponsoring-tab.png and b/assets/images/help/sponsors/sponsoring-tab.png differ diff --git a/assets/images/help/sponsors/sponsors-search-options.png b/assets/images/help/sponsors/sponsors-search-options.png deleted file mode 100644 index 54933f2dc3..0000000000 Binary files a/assets/images/help/sponsors/sponsors-search-options.png and /dev/null differ diff --git a/assets/images/help/sponsors/sponsorships-checkbox.png b/assets/images/help/sponsors/sponsorships-checkbox.png deleted file mode 100644 index 6f77373cba..0000000000 Binary files a/assets/images/help/sponsors/sponsorships-checkbox.png and /dev/null differ diff --git a/assets/images/help/sponsors/sponsorships-published-checkbox.png b/assets/images/help/sponsors/sponsorships-published-checkbox.png deleted file mode 100644 index d874f30d1e..0000000000 Binary files a/assets/images/help/sponsors/sponsorships-published-checkbox.png and /dev/null differ diff --git a/assets/images/help/sponsors/subject-body-update.png b/assets/images/help/sponsors/subject-body-update.png deleted file mode 100644 index b6ee6d29f0..0000000000 Binary files a/assets/images/help/sponsors/subject-body-update.png and /dev/null differ diff --git a/assets/images/help/sponsors/tier-editor-button.png b/assets/images/help/sponsors/tier-editor-button.png deleted file mode 100644 index 53b70e0c04..0000000000 Binary files a/assets/images/help/sponsors/tier-editor-button.png and /dev/null differ diff --git a/assets/images/help/sponsors/tier-price-description.png b/assets/images/help/sponsors/tier-price-description.png deleted file mode 100644 index a99595bad7..0000000000 Binary files a/assets/images/help/sponsors/tier-price-description.png and /dev/null differ diff --git a/assets/images/help/sponsors/unpublish-profile-button.png b/assets/images/help/sponsors/unpublish-profile-button.png deleted file mode 100644 index 559bd55aaa..0000000000 Binary files a/assets/images/help/sponsors/unpublish-profile-button.png and /dev/null differ diff --git a/assets/images/help/sponsors/unpublish-profile-dialog.png b/assets/images/help/sponsors/unpublish-profile-dialog.png deleted file mode 100644 index f751c627a1..0000000000 Binary files a/assets/images/help/sponsors/unpublish-profile-dialog.png and /dev/null differ diff --git a/assets/images/help/sponsors/update-sponsorship-button.png b/assets/images/help/sponsors/update-sponsorship-button.png deleted file mode 100644 index 00f7916dde..0000000000 Binary files a/assets/images/help/sponsors/update-sponsorship-button.png and /dev/null differ diff --git a/assets/images/help/sponsors/update-tier-button.png b/assets/images/help/sponsors/update-tier-button.png deleted file mode 100644 index b884f895c5..0000000000 Binary files a/assets/images/help/sponsors/update-tier-button.png and /dev/null differ diff --git a/assets/images/help/sponsors/updates-checkbox-manage.png b/assets/images/help/sponsors/updates-checkbox-manage.png deleted file mode 100644 index 8a6613c8af..0000000000 Binary files a/assets/images/help/sponsors/updates-checkbox-manage.png and /dev/null differ diff --git a/assets/images/help/sponsors/user-waitlist-payout-options.png b/assets/images/help/sponsors/user-waitlist-payout-options.png deleted file mode 100644 index f1addfa808..0000000000 Binary files a/assets/images/help/sponsors/user-waitlist-payout-options.png and /dev/null differ diff --git a/assets/images/help/sponsors/webhook-active.png b/assets/images/help/sponsors/webhook-active.png deleted file mode 100644 index 12bc8a167c..0000000000 Binary files a/assets/images/help/sponsors/webhook-active.png and /dev/null differ diff --git a/assets/images/help/sponsors/webhook-content-menu.png b/assets/images/help/sponsors/webhook-content-menu.png deleted file mode 100644 index 13a0f3c081..0000000000 Binary files a/assets/images/help/sponsors/webhook-content-menu.png and /dev/null differ diff --git a/assets/images/help/sponsors/webhook-edit-delete-button.png b/assets/images/help/sponsors/webhook-edit-delete-button.png deleted file mode 100644 index 4d64e22684..0000000000 Binary files a/assets/images/help/sponsors/webhook-edit-delete-button.png and /dev/null differ diff --git a/assets/images/help/sponsors/webhook-payload-url.png b/assets/images/help/sponsors/webhook-payload-url.png deleted file mode 100644 index cc4a661691..0000000000 Binary files a/assets/images/help/sponsors/webhook-payload-url.png and /dev/null differ diff --git a/assets/images/help/sponsors/webhook-secret-token.png b/assets/images/help/sponsors/webhook-secret-token.png deleted file mode 100644 index 8ff7dd7151..0000000000 Binary files a/assets/images/help/sponsors/webhook-secret-token.png and /dev/null differ diff --git a/assets/images/help/sponsors/webhooks-tab.png b/assets/images/help/sponsors/webhooks-tab.png index 78db022082..81c02d7992 100644 Binary files a/assets/images/help/sponsors/webhooks-tab.png and b/assets/images/help/sponsors/webhooks-tab.png differ diff --git a/assets/images/help/sponsors/who-can-see-sponsorship.png b/assets/images/help/sponsors/who-can-see-sponsorship.png deleted file mode 100644 index 8710355065..0000000000 Binary files a/assets/images/help/sponsors/who-can-see-sponsorship.png and /dev/null differ diff --git a/assets/images/help/sponsors/your-goals-tab.png b/assets/images/help/sponsors/your-goals-tab.png index 31993b59c6..2a95baacfb 100644 Binary files a/assets/images/help/sponsors/your-goals-tab.png and b/assets/images/help/sponsors/your-goals-tab.png differ diff --git a/assets/images/help/sponsors/your-sponsors-tab.png b/assets/images/help/sponsors/your-sponsors-tab.png index 9fadc21105..e62d3728e2 100644 Binary files a/assets/images/help/sponsors/your-sponsors-tab.png and b/assets/images/help/sponsors/your-sponsors-tab.png differ diff --git a/components/search/SearchResults.tsx b/components/search/SearchResults.tsx index 695857e5a4..f45aed8781 100644 --- a/components/search/SearchResults.tsx +++ b/components/search/SearchResults.tsx @@ -25,7 +25,7 @@ export function SearchResults({ results, query }: Props) { return (
- + {results.meta.found.value === 1 ? t('one_result') : t('n_results').replace('{n}', formatInteger(results.meta.found.value))} diff --git a/components/ui/MiniTocs/MiniTocs.tsx b/components/ui/MiniTocs/MiniTocs.tsx index a1b4ed6a99..0a20d4732f 100644 --- a/components/ui/MiniTocs/MiniTocs.tsx +++ b/components/ui/MiniTocs/MiniTocs.tsx @@ -65,7 +65,7 @@ export function MiniTocs({ miniTocItems }: MiniTocsPropsT) { {t('miniToc')} - + {miniTocItems.map((items, i) => { return ( 3.4 or ghae > 3.4%} 1. In the "Access" section of the sidebar, click **{% octicon "people" aria-hidden="true" %} Collaborators**. 1. Click **Add people**. -2. In the search field, start typing the name of person you want to invite, then click a name in the list of matches. -3. Click **Add NAME to REPOSITORY**. - ![Button to add collaborator](/assets/images/help/repository/add-collaborator-user-repo.png) +1. In the search field, start typing the name of person you want to invite, then click a name in the list of matches. +1. Click **Add NAME to REPOSITORY**. {% else %} -5. In the left sidebar, click **Collaborators**. -![Repository settings sidebar with Collaborators highlighted](/assets/images/help/repository/user-account-repo-settings-collaborators.png) -6. Under "Collaborators", start typing the collaborator's username. -7. Select the collaborator's username from the drop-down menu. - ![Collaborator list drop-down menu](/assets/images/help/repository/repo-settings-collab-autofill.png) -8. Click **Add collaborator**. - !["Add collaborator" button](/assets/images/help/repository/repo-settings-collab-add.png) +1. In the left sidebar, click **Collaborators**. +1. Under "Collaborators", start typing the collaborator's username. +1. Select the collaborator's username from the dropdown menu. +1. Click **Add collaborator**. {% endif %} {% ifversion fpt or ghec %} -9. The user will receive an email inviting them to the repository. Once they accept your invitation, they will have collaborator access to your repository. +1. The user will receive an email inviting them to the repository. Once they accept your invitation, they will have collaborator access to your repository. {% endif %} ## Further reading diff --git a/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/removing-a-collaborator-from-a-personal-repository.md b/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/removing-a-collaborator-from-a-personal-repository.md index cc2f123fb6..6d6852d1aa 100644 --- a/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/removing-a-collaborator-from-a-personal-repository.md +++ b/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/removing-a-collaborator-from-a-personal-repository.md @@ -36,7 +36,6 @@ While forks of private repositories are deleted when a collaborator is removed, ![Button to remove collaborator](/assets/images/help/repository/collaborator-remove.png) {% else %} 3. In the left sidebar, click **Collaborators & teams**. - ![Collaborators tab](/assets/images/help/repository/repo-settings-collaborators.png) 4. Next to the collaborator you want to remove, click the **X** icon. ![Remove link](/assets/images/help/organizations/Collaborator-Remove.png) {% endif %} diff --git a/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/removing-yourself-from-a-collaborators-repository.md b/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/removing-yourself-from-a-collaborators-repository.md index 8e297db83f..33485a6c58 100644 --- a/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/removing-yourself-from-a-collaborators-repository.md +++ b/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/removing-yourself-from-a-collaborators-repository.md @@ -22,12 +22,9 @@ shortTitle: Remove yourself --- {% data reusables.user-settings.access_settings %} {% ifversion fpt or ghec or ghes > 3.4 or ghae > 3.4 %} -2. In the "Code, planning, and automation" section of the sidebar, click **{% octicon "repo" aria-label="The repo icon" %} Repositories**. +1. In the "Code, planning, and automation" section of the sidebar, click **{% octicon "repo" aria-hidden="true" %} Repositories**. {% else %} -2. In the left sidebar, click **Repositories**. - ![Repositories tab](/assets/images/help/settings/settings-sidebar-repositories.png) +1. In the left sidebar, click **Repositories**. {% endif %} -3. Next to the repository you want to leave, click **Leave**. - ![Leave button](/assets/images/help/repository/repo-leave.png) -4. Read the warning carefully, then click "I understand, leave this repository." - ![Dialog box warning you to leave](/assets/images/help/repository/repo-leave-confirmation.png) +1. Next to the repository you want to leave, click **Leave**. +1. Read the warning carefully, then click **I understand, leave this repository.** diff --git a/content/actions/deployment/managing-your-deployments/viewing-deployment-history.md b/content/actions/deployment/managing-your-deployments/viewing-deployment-history.md index 2687595460..ac02bf51ad 100644 --- a/content/actions/deployment/managing-your-deployments/viewing-deployment-history.md +++ b/content/actions/deployment/managing-your-deployments/viewing-deployment-history.md @@ -19,8 +19,6 @@ You can deliver deployments through {% data variables.product.prodname_actions % To view current and past deployments, click **Environments** in the sidebar of the home page of your repository. -![Screenshot of the sidebar of a repository page. The "Environments" section is outlined in dark orange.](/assets/images/help/actions/environments-sidebar.png) - The deployments page displays the last active deployment of each environment for your repository. If the deployment includes an environment URL, a **View deployment** button that links to the URL is shown next to the deployment. The activity log shows the deployment history for your environments. By default, only the most recent deployment for an environment has an `Active` status; all previously active deployments have an `Inactive` status. For more information on automatic inactivation of deployments, see "[AUTOTITLE](/rest/deployments#inactive-deployments)." diff --git a/content/actions/hosting-your-own-runners/about-self-hosted-runners.md b/content/actions/hosting-your-own-runners/about-self-hosted-runners.md index 73ba6db424..0195dd2640 100644 --- a/content/actions/hosting-your-own-runners/about-self-hosted-runners.md +++ b/content/actions/hosting-your-own-runners/about-self-hosted-runners.md @@ -109,7 +109,9 @@ The following operating systems are supported for the self-hosted runner applica - Windows 8.1 64-bit - Windows 10 64-bit - Windows Server 2012 R2 64-bit +- Windows Server 2016 64-bit - Windows Server 2019 64-bit +- Windows Server 2022 64-bit ### macOS diff --git a/content/actions/managing-workflow-runs/re-running-workflows-and-jobs.md b/content/actions/managing-workflow-runs/re-running-workflows-and-jobs.md index dc108b155f..a26cb9fc8a 100644 --- a/content/actions/managing-workflow-runs/re-running-workflows-and-jobs.md +++ b/content/actions/managing-workflow-runs/re-running-workflows-and-jobs.md @@ -28,16 +28,14 @@ Re-running a workflow{% ifversion re-run-jobs %} or jobs in a workflow{% endif % {% data reusables.repositories.navigate-to-workflow %} {% data reusables.repositories.view-run %} {% ifversion fpt or ghes > 3.4 or ghae or ghec -%} -1. In the upper-right corner of the workflow, use the **{% octicon "sync" aria-label="The sync icon" %} Re-run jobs** drop-down menu, and select **Re-run all jobs**. +1. In the upper-right corner of the workflow, re-run jobs. - If no jobs failed, you will not see the **{% octicon "sync" aria-label="The sync icon" %} Re-run jobs** drop-down menu. Instead, click **Re-run all jobs**. + - If any jobs failed, select the **{% octicon "sync" aria-hidden="true" %} Re-run jobs** dropdown menu and click **Re-run all jobs**. - ![Rerun checks drop-down menu](/assets/images/help/repository/rerun-checks-drop-down.png) + - If no jobs failed, click **Re-run all jobs**. {%- endif %} {% ifversion ghes < 3.5 or ghae -%} -1. In the upper-right corner of the workflow, use the **Re-run jobs** drop-down menu, and select **Re-run all jobs**. - - ![Re-run checks drop-down menu](/assets/images/help/repository/rerun-checks-drop-down-updated.png) +1. In the upper-right corner of the workflow, select the **Re-run jobs** dropdown menu and click **Re-run all jobs**. {%- endif %} {% data reusables.actions.enable-debug-logging %} @@ -81,9 +79,7 @@ If any jobs in a workflow run failed, you can re-run just the jobs that failed. {% data reusables.repositories.actions-tab %} {% data reusables.repositories.navigate-to-workflow %} {% data reusables.repositories.view-run %} -1. In the upper-right corner of the workflow, use the **{% octicon "sync" aria-label="The sync icon" %} Re-run jobs** drop-down menu, and select **Re-run failed jobs**. - - ![Rerun checks drop-down menu](/assets/images/help/repository/rerun-checks-drop-down.png) +1. In the upper-right corner of the workflow, select the **{% octicon "sync" aria-hidden="true" %} Re-run jobs** dropdown menu, and click **Re-run failed jobs**. {% data reusables.actions.enable-debug-logging %} {% endwebui %} @@ -117,10 +113,8 @@ When you re-run a specific job in a workflow, a new workflow run will start for {% data reusables.repositories.navigate-to-workflow %} {% data reusables.repositories.view-run %} 1. Next to the job that you want to re-run, click {% octicon "sync" aria-label="The re-run icon" %}. - ![Re-run selected job](/assets/images/help/repository/re-run-selected-job.png) - Alternatively, click on a job to view the log. In the log, click {% octicon "sync" aria-label="The re-run icon" %}. - ![Re-run selected job](/assets/images/help/repository/re-run-single-job-from-log.png) + ![Screenshot of the page for a workflow run. In the left sidebar, to the right of a job, a sync icon is outlined in dark orange.](/assets/images/help/actions/re-run-selected-job.png) {% data reusables.actions.enable-debug-logging %} {% endwebui %} @@ -163,12 +157,11 @@ You can view the results from your previous attempts at running a workflow. You {% data reusables.repositories.navigate-to-workflow %} {% data reusables.repositories.view-run %} {%- ifversion re-run-jobs %} -1. Any previous run attempts are shown in the **Latest** drop-down menu. - ![Previous run attempts](/assets/images/help/repository/previous-run-attempts.png) +1. To the right of the run name, select the **Latest** dropdown menu and click a previous run attempt. + + ![Screenshot of the page for a workflow run. A dropdown menu, labeled "Latest #2," is outlined in dark orange.](/assets/images/help/actions/previous-run-attempts.png) {%- else %} -1. Any previous run attempts are shown in the left pane. +1. In the left pane, click a previous run attempt. ![Rerun workflow](/assets/images/help/settings/actions-review-workflow-rerun.png) {%- endif %} -1. Click an entry to view its results. - {% endif %} diff --git a/content/actions/monitoring-and-troubleshooting-workflows/about-monitoring-and-troubleshooting.md b/content/actions/monitoring-and-troubleshooting-workflows/about-monitoring-and-troubleshooting.md index c88e6ddd16..f887c1cd4a 100644 --- a/content/actions/monitoring-and-troubleshooting-workflows/about-monitoring-and-troubleshooting.md +++ b/content/actions/monitoring-and-troubleshooting-workflows/about-monitoring-and-troubleshooting.md @@ -38,30 +38,18 @@ For more information, see "[AUTOTITLE](/actions/monitoring-and-troubleshooting-w {% ifversion fpt or ghec %} ### Viewing job execution time -To identify how long a job took to run, you can view its execution time. For example: - - ![Run and billable time details link](/assets/images/help/repository/view-run-billable-time.png) - -For more information, see "[AUTOTITLE](/actions/monitoring-and-troubleshooting-workflows/viewing-job-execution-time)." +To identify how long a job took to run, you can view its execution time. For more information, see "[AUTOTITLE](/actions/monitoring-and-troubleshooting-workflows/viewing-job-execution-time)." {% endif %} ### Viewing workflow run history -You can view the status of each job and step in a workflow. For example: - - ![Name of workflow run](/assets/images/help/repository/run-name.png) - -For more information, see "[AUTOTITLE](/actions/monitoring-and-troubleshooting-workflows/viewing-workflow-run-history)." +You can view the status of each job and step in a workflow. For more information, see "[AUTOTITLE](/actions/monitoring-and-troubleshooting-workflows/viewing-workflow-run-history)." ## Troubleshooting your workflows ### Using workflow run logs -Each workflow run generates activity logs that you can view, search, and download. For example: - - ![Super linter workflow results](/assets/images/help/repository/super-linter-workflow-results-updated-2.png) - -For more information, see "[AUTOTITLE](/actions/monitoring-and-troubleshooting-workflows/using-workflow-run-logs)." +Each workflow run generates activity logs that you can view, search, and download. For more information, see "[AUTOTITLE](/actions/monitoring-and-troubleshooting-workflows/using-workflow-run-logs)." ### Enabling debug logging diff --git a/content/actions/monitoring-and-troubleshooting-workflows/using-workflow-run-logs.md b/content/actions/monitoring-and-troubleshooting-workflows/using-workflow-run-logs.md index ddf6b45a65..ee14fa54c2 100644 --- a/content/actions/monitoring-and-troubleshooting-workflows/using-workflow-run-logs.md +++ b/content/actions/monitoring-and-troubleshooting-workflows/using-workflow-run-logs.md @@ -48,7 +48,6 @@ You can search the build logs for a particular step. When you search logs, only {% data reusables.repositories.view-run %} {% data reusables.repositories.navigate-to-job %} 1. In the upper-right corner of the log output, in the **Search logs** search box, type a search query. -![Search box to search logs](/assets/images/help/repository/search-log-box-updated-2.png) ## Downloading logs diff --git a/content/actions/monitoring-and-troubleshooting-workflows/viewing-job-execution-time.md b/content/actions/monitoring-and-troubleshooting-workflows/viewing-job-execution-time.md index a0debf0f32..89c675495f 100644 --- a/content/actions/monitoring-and-troubleshooting-workflows/viewing-job-execution-time.md +++ b/content/actions/monitoring-and-troubleshooting-workflows/viewing-job-execution-time.md @@ -18,9 +18,8 @@ Billable job execution minutes are only shown for jobs run on private repositori {% data reusables.repositories.actions-tab %} {% data reusables.repositories.navigate-to-workflow %} {% data reusables.repositories.view-run %} -1. Under the job summary, you can view the job's execution time. To view details about the billable job execution time, in the left sidebar under "Run details", click **{% octicon "stopwatch" aria-label="The stopwatch icon" %} Usage**. - - ![Run and billable time details link](/assets/images/help/repository/view-run-billable-time.png) +1. Under the job summary, you can view the job's execution time. +1. To view details about the billable job execution time, in the left sidebar under "Run details", click **{% octicon "stopwatch" aria-hidden="true" %} Usage**. {% note %} diff --git a/content/actions/using-jobs/using-conditions-to-control-job-execution.md b/content/actions/using-jobs/using-conditions-to-control-job-execution.md index 6bee2f2f5f..bf95d9a986 100644 --- a/content/actions/using-jobs/using-conditions-to-control-job-execution.md +++ b/content/actions/using-jobs/using-conditions-to-control-job-execution.md @@ -22,9 +22,7 @@ versions: {% data reusables.actions.jobs.section-using-conditions-to-control-job-execution %} -You would see the following status on a skipped job: - -![Skipped-required-run-details](/assets/images/help/repository/skipped-required-run-details.png) +On a skipped job, you should see "This check was skipped." {% note %} diff --git a/content/actions/using-workflows/storing-workflow-data-as-artifacts.md b/content/actions/using-workflows/storing-workflow-data-as-artifacts.md index eb00968dae..e33a5dd724 100644 --- a/content/actions/using-workflows/storing-workflow-data-as-artifacts.md +++ b/content/actions/using-workflows/storing-workflow-data-as-artifacts.md @@ -85,7 +85,7 @@ For example, your repository or a web application might contain SASS and TypeScr | └── app.ts | └── output | └── test -| +| ``` This example shows you how to create a workflow for a Node.js project that builds the code in the `src` directory and runs the tests in the `tests` directory. You can assume that running `npm test` produces a code coverage report named `code-coverage.html` stored in the `output/test/` directory. @@ -249,7 +249,6 @@ jobs: ``` The workflow run will archive any artifacts that it generated. For more information on downloading archived artifacts, see "[AUTOTITLE](/actions/managing-workflow-runs/downloading-workflow-artifacts)." -![Workflow that passes data between jobs to perform math](/assets/images/help/repository/passing-data-between-jobs-in-a-workflow-updated.png) {% ifversion fpt or ghec %} diff --git a/content/actions/using-workflows/workflow-commands-for-github-actions.md b/content/actions/using-workflows/workflow-commands-for-github-actions.md index 472ceb8386..f1935aef2f 100644 --- a/content/actions/using-workflows/workflow-commands-for-github-actions.md +++ b/content/actions/using-workflows/workflow-commands-for-github-actions.md @@ -735,7 +735,7 @@ steps: {% ifversion actions-save-state-set-output-envs %} ## Setting an output parameter -Sets a step's output parameter. Note that the step will need an `id` to be defined to later retrieve the output value. +Sets a step's output parameter. Note that the step will need an `id` to be defined to later retrieve the output value. You can set multi-line output values with the same technique used in the "[Multiline strings](/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings)" section to define multi-line environment variables. {% bash %} diff --git a/content/admin/code-security/managing-supply-chain-security-for-your-enterprise/viewing-the-vulnerability-data-for-your-enterprise.md b/content/admin/code-security/managing-supply-chain-security-for-your-enterprise/viewing-the-vulnerability-data-for-your-enterprise.md index c9260ee288..3216dbc648 100644 --- a/content/admin/code-security/managing-supply-chain-security-for-your-enterprise/viewing-the-vulnerability-data-for-your-enterprise.md +++ b/content/admin/code-security/managing-supply-chain-security-for-your-enterprise/viewing-the-vulnerability-data-for-your-enterprise.md @@ -20,6 +20,5 @@ You can manually sync vulnerability data from {% data variables.product.prodname Before you can view vulnerability data, you must enable {% data variables.product.prodname_dependabot_alerts %}. For more information, see "[AUTOTITLE](/admin/configuration/configuring-github-connect/enabling-dependabot-for-your-enterprise)." {% data reusables.enterprise_site_admin_settings.access-settings %} -2. In the left sidebar, click **Vulnerabilities**. - ![Vulnerabilities tab in the site admin sidebar](/assets/images/enterprise/business-accounts/vulnerabilities-tab.png) +2. In the left sidebar, under {% octicon "rocket" aria-hidden="true" %} **Site admin**, click **Vulnerabilities**. 3. To sync vulnerability data, click **Sync Vulnerabilities Now**. diff --git a/content/admin/configuration/configuring-github-connect/managing-github-connect.md b/content/admin/configuration/configuring-github-connect/managing-github-connect.md index e6bbc5f3bc..45c9435124 100644 --- a/content/admin/configuration/configuring-github-connect/managing-github-connect.md +++ b/content/admin/configuration/configuring-github-connect/managing-github-connect.md @@ -63,12 +63,7 @@ If you're connecting {% data variables.location.product_location %} to an organi 1. Sign in to {% data variables.location.product_location %} and {% data variables.product.prodname_dotcom_the_website %}. {% data reusables.enterprise-accounts.access-enterprise %}{% data reusables.enterprise-accounts.github-connect-tab %}{% endif %} 1. Under "{% data variables.product.prodname_github_connect %} is not enabled yet", click **Enable {% data variables.product.prodname_github_connect %}**. By clicking **Enable {% data variables.product.prodname_github_connect %}**, you agree to the "[AUTOTITLE](/free-pro-team@latest/site-policy/github-terms/github-terms-for-additional-products-and-features#connect)." -{% ifversion ghes %} - ![Enable GitHub Connect button](/assets/images/enterprise/business-accounts/enable-github-connect-button.png){% else %} - ![Enable GitHub Connect button](/assets/images/enterprise/github-ae/enable-github-connect-button.png) -{% endif %} -1. Next to the enterprise account or organization you'd like to connect, click **Connect**. - ![Connect button next to an enterprise account or business](/assets/images/enterprise/business-accounts/choose-enterprise-or-org-connect.png) +1. To the right of the enterprise account or organization you'd like to connect, click **Connect**. ## Disabling {% data variables.product.prodname_github_connect %} @@ -78,13 +73,5 @@ When you disconnect from {% data variables.product.prodname_ghe_cloud %}, the {% {% data reusables.enterprise-accounts.access-enterprise %} {% data reusables.enterprise-accounts.github-connect-tab %} -1. Next to the enterprise account or organization you'd like to disconnect, click **Disable {% data variables.product.prodname_github_connect %}**. -{% ifversion ghes %} - ![Disable GitHub Connect button next to an enterprise account or organization name](/assets/images/enterprise/business-accounts/disable-github-connect-button.png) -1. Read the information about disconnecting and click **Disable {% data variables.product.prodname_github_connect %}**. - ![Modal with warning information about disconnecting and confirmation button](/assets/images/enterprise/business-accounts/confirm-disable-github-connect.png) -{% else %} - ![Disable GitHub Connect button next to an enterprise account or organization name](/assets/images/enterprise/github-ae/disable-github-connect-button.png) -1. Read the information about disconnecting and click **Disable {% data variables.product.prodname_github_connect %}**. - ![Modal with warning information about disconnecting and confirmation button](/assets/images/enterprise/github-ae/confirm-disable-github-connect.png) -{% endif %} +1. Under "{% data variables.product.prodname_github_connect %}", to the right of the enterprise account or organization you'd like to disconnect, click **Disable {% data variables.product.prodname_github_connect %}**. +1. Read the information about disconnection, then click **Disable {% data variables.product.prodname_github_connect %}**. diff --git a/content/admin/configuration/configuring-your-enterprise/configuring-custom-footers.md b/content/admin/configuration/configuring-your-enterprise/configuring-custom-footers.md index e45a456e95..20444d7ebd 100644 --- a/content/admin/configuration/configuring-your-enterprise/configuring-custom-footers.md +++ b/content/admin/configuration/configuring-your-enterprise/configuring-custom-footers.md @@ -1,6 +1,7 @@ --- title: Configuring custom footers intro: 'You can give users easy access to enterprise-specific links by adding custom footers to {% data variables.product.product_name %}.' +permissions: Enterprise owners can configure a custom footer. versions: ghec: '*' ghes: '*' @@ -11,29 +12,18 @@ topics: - Fundamentals shortTitle: Configure custom footers --- -Enterprise owners can configure {% data variables.product.product_name %} to show custom footers with up to five additional links. -![Custom footer](/assets/images/enterprise/custom-footer/octodemo-footer.png) +## About custom footers for {% ifversion ghec or ghae %}your enterprise{% elsif ghes %}{% data variables.product.product_name %}{% endif %} -The custom footer is displayed above the {% data variables.product.prodname_dotcom %} footer {% ifversion ghes or ghae %}to all users, on all pages of {% data variables.product.product_name %}{% elsif ghec %}to all enterprise members and collaborators, on all repository and organization pages for repositories and organizations that belong to the enterprise{% endif %}. +You can configure the web UI for {% data variables.product.product_name %} to display a custom footer with up to five additional links. The custom footer appears above the default {% data variables.product.prodname_dotcom %} footer{% ifversion ghes or ghae %}, to all users and on all pages{% elsif ghec %} to all enterprise members and collaborators, on all repository and organization pages for repositories and organizations that belong to the enterprise{% endif %}. -## Configuring custom footers for your enterprise +## Configuring custom footers {% data reusables.enterprise-accounts.access-enterprise %} {% data reusables.enterprise-accounts.settings-tab %} +1. Under {% octicon "gear" aria-hidden="true" %} **Settings**, click **Profile**. +1. At the top of the page, under the navigation bar, click **Custom footer**. -1. Under "Settings", click **Profile**. -{%- ifversion ghec %} -![Enterprise profile settings](/assets/images/enterprise/custom-footer/enterprise-profile-ghec.png) -{%- else %} -![Enterprise profile settings](/assets/images/enterprise/custom-footer/enterprise-profile-ghes.png) -{%- endif %} - -1. At the top of the Profile section, click **Custom footer**. -![Custom footer section](/assets/images/enterprise/custom-footer/custom-footer-section.png) - -1. Add up to five links in the fields shown. -![Add footer links](/assets/images/enterprise/custom-footer/add-footer-links.png) - -1. Click **Update custom footer** to save the content and display the custom footer. -![Update custom footer](/assets/images/enterprise/custom-footer/update-custom-footer.png) + ![Screenshot of the "Profile" page for an enterprise account. A tab, labeled "Custom footer", is outlined in dark orange.](/assets/images/enterprise/custom-footer/custom-footer-section.png) +1. Under each "Footer Link" heading, type a title and URL. +1. To save the content and display the custom footer, click **Update custom footer**. \ No newline at end of file diff --git a/content/admin/configuration/configuring-your-enterprise/configuring-email-for-notifications.md b/content/admin/configuration/configuring-your-enterprise/configuring-email-for-notifications.md index 1ccdc6954b..a409525a04 100644 --- a/content/admin/configuration/configuring-your-enterprise/configuring-email-for-notifications.md +++ b/content/admin/configuration/configuring-your-enterprise/configuring-email-for-notifications.md @@ -41,9 +41,8 @@ settings to allow incoming emails](#configuring-dns-and-firewall-settings-to-all {% elsif ghae %} {% data reusables.enterprise-accounts.access-enterprise %} {% data reusables.enterprise-accounts.settings-tab %} -{% data reusables.enterprise-accounts.email-tab %} +1. Under {% octicon "gear" aria-hidden="true" %} **Settings**, click **Email**. 2. Select **Enable email**. - !["Enable" checkbox for email settings configuration](/assets/images/enterprise/configuration/ae-enable-email-configure.png) 3. Type the settings for your email server. - In the **Server address** field, type the address of your SMTP server. - In the **Port** field, type the port that your SMTP server uses to send email. @@ -51,13 +50,9 @@ settings to allow incoming emails](#configuring-dns-and-firewall-settings-to-all - Select the **Authentication** dropdown, and choose the type of encryption used by your SMTP server. - In the **No-reply email address** field, type the email address to use in the From and To fields for all notification emails. 4. If you want to discard all incoming emails that are addressed to the no-reply email address, select **Discard email addressed to the no-reply email address**. - !["Discard" checkbox for email settings configuration](/assets/images/enterprise/configuration/ae-discard-email.png) 5. Click **Test email settings**. - !["Test email settings" button for email settings configuration](/assets/images/enterprise/configuration/ae-test-email.png) 6. Under "Send test email to," type the email address where you want to send a test email, then click **Send test email**. - !["Send test email" button for email settings configuration](/assets/images/enterprise/configuration/ae-send-test-email.png) 7. Click **Save**. - !["Save" button for enterprise support contact configuration](/assets/images/enterprise/configuration/ae-save.png) {% endif %} {% ifversion ghes %} @@ -91,9 +86,9 @@ You can enforce TLS encryption for all incoming SMTP connections, which can help {%- endif %} {% data reusables.enterprise_site_admin_settings.email-settings %} -1. Under "Authentication," select **Enforce TLS auth (recommended)**. +1. Under "Authentication", select **Enforce TLS auth (recommended)**. - ![Screenshot of the "Enforce TLS auth (recommended)" checkbox](/assets/images/enterprise/configuration/enforce-tls-for-smtp-checkbox.png) + ![Screenshot of the "Email" section of the Management Console. A checkbox, labeled "Enforce TLS auth (recommended)", is outlined in dark orange.](/assets/images/enterprise/configuration/enforce-tls-for-smtp-checkbox.png) {% data reusables.enterprise_management_console.save-settings %} {% endif %} diff --git a/content/admin/configuration/configuring-your-enterprise/configuring-github-pages-for-your-enterprise.md b/content/admin/configuration/configuring-your-enterprise/configuring-github-pages-for-your-enterprise.md index c9a89b9f86..f2cda7ac19 100644 --- a/content/admin/configuration/configuring-your-enterprise/configuring-github-pages-for-your-enterprise.md +++ b/content/admin/configuration/configuring-your-enterprise/configuring-github-pages-for-your-enterprise.md @@ -55,7 +55,6 @@ If subdomain isolation is disabled for your enterprise, you should also disable {% data reusables.enterprise-accounts.policies-tab %} {% data reusables.enterprise-accounts.pages-tab %} 1. Under "Pages policies", deselect **Enable {% data variables.product.prodname_pages %}**. - ![Checkbox to disable {% data variables.product.prodname_pages %}](/assets/images/enterprise/business-accounts/enable-github-pages-checkbox.png) {% data reusables.enterprise-accounts.pages-policies-save %} {% endif %} diff --git a/content/admin/configuration/configuring-your-enterprise/enabling-and-scheduling-maintenance-mode.md b/content/admin/configuration/configuring-your-enterprise/enabling-and-scheduling-maintenance-mode.md index e41b0b46f9..427ddd144d 100644 --- a/content/admin/configuration/configuring-your-enterprise/enabling-and-scheduling-maintenance-mode.md +++ b/content/admin/configuration/configuring-your-enterprise/enabling-and-scheduling-maintenance-mode.md @@ -32,14 +32,8 @@ Some types of operations require that you take {% data variables.location.produc We recommend that you schedule a maintenance window for at least 30 minutes in the future to give users time to prepare. When a maintenance window is scheduled, all users will see a banner when accessing the site. - - -![End user banner about scheduled maintenance](/assets/images/enterprise/maintenance/maintenance-scheduled.png) - When the instance is in maintenance mode, all normal HTTP and Git access is refused. Git fetch, clone, and push operations are also rejected with an error message indicating that the site is temporarily unavailable. In high availability configurations, Git replication will be paused. GitHub Actions jobs will not be executed. Visiting the site in a browser results in a maintenance page. -![The maintenance mode splash screen](/assets/images/enterprise/maintenance/maintenance-mode-maintenance-page.png) - {% ifversion ip-exception-list %} You can perform initial validation of your maintenance operation by configuring an IP exception list to allow access to {% data variables.location.product_location %} from only the IP addresses and ranges provided. Attempts to access {% data variables.location.product_location %} from IP addresses not specified on the IP exception list will receive a response consistent with those sent when the instance is in maintenance mode. @@ -53,13 +47,9 @@ You can perform initial validation of your maintenance operation by configuring 2. In the top navigation bar, click **Maintenance**. ![Screenshot of the header of the {% data variables.enterprise.management_console %}. A tab, labeled "Maintenance", is highlighted with an orange outline.](/assets/images/enterprise/management-console/maintenance-tab.png) -3. Under "Enable and schedule", decide whether to enable maintenance mode immediately or to schedule a maintenance window for a future time. - - To enable maintenance mode immediately, use the drop-down menu and click **now**. - ![Drop-down menu with the option to enable maintenance mode now selected](/assets/images/enterprise/maintenance/enable-maintenance-mode-now.png) - - To schedule a maintenance window for a future time, use the drop-down menu and click a start time. - ![Drop-down menu with the option to schedule a maintenance window in two hours selected](/assets/images/enterprise/maintenance/schedule-maintenance-mode-two-hours.png) -4. Select **Enable maintenance mode**. - ![Checkbox for enabling or scheduling maintenance mode](/assets/images/enterprise/maintenance/enable-maintenance-mode-checkbox.png) +3. Under "Enable and schedule", select **Enable maintenance mode**, then decide whether to enable maintenance mode immediately or to schedule a maintenance window for a future time. + - To enable maintenance mode immediately, select the dropdown menu and click **now**. + - To schedule a maintenance window for a future time, select the dropdown menu and click a start time. {% data reusables.enterprise_management_console.save-settings %} {% ifversion ip-exception-list %} @@ -77,12 +67,9 @@ You can also use a command-line utility to configure the IP exception list. For 1. In the top navigation bar, click **Maintenance**, then confirm maintenance mode is already enabled. ![Screenshot of the header of the {% data variables.enterprise.management_console %}. A tab, labeled "Maintenance", is highlighted with an orange outline.](/assets/images/enterprise/management-console/maintenance-tab.png) -1. Select **Enable IP exception list**. - ![Checkbox for enabling ip exception list](/assets/images/enterprise/maintenance/enable-ip-exception-list.png) -1. In the text box, type a valid list of space-separated IP addresses or CIDR blocks that should be allowed to access {% data variables.location.product_location %}. - ![completed field for IP addresses](/assets/images/enterprise/maintenance/ip-exception-list-ip-addresses.png) +1. Under "Enable and configure IP exception list", select **Enable IP exception list**. +1. To the right of the checkbox for enabling the list, type a valid list of space-separated IP addresses or CIDR blocks that should be allowed to access {% data variables.location.product_location %}. 1. Click **Save**. -![after IP excetpion list has saved](/assets/images/enterprise/maintenance/ip-exception-save.png) {% endif %} diff --git a/content/admin/configuration/configuring-your-enterprise/initializing-github-ae.md b/content/admin/configuration/configuring-your-enterprise/initializing-github-ae.md index df04bcf10c..649aaee257 100644 --- a/content/admin/configuration/configuring-your-enterprise/initializing-github-ae.md +++ b/content/admin/configuration/configuring-your-enterprise/initializing-github-ae.md @@ -46,24 +46,17 @@ To initialize {% data variables.location.product_location %}, you must have a SA 1. Follow the instructions in your welcome email to reach your enterprise. 2. Type your credentials under "Change password", then click **Change password**. 3. Under "What would you like your enterprise account to be named?", type the enterprise's name, then click **Save and continue**. - !["Save and continue" button for naming an enterprise](/assets/images/enterprise/configuration/ae-enterprise-configuration.png) ## Connecting your IdP to your enterprise To configure authentication for {% data variables.product.product_name %}, you must provide {% data variables.product.product_name %} with the details for your SAML IdP. {% data variables.product.company_short %} recommends using Azure AD as your IdP. For more information, see "[AUTOTITLE](/admin/identity-and-access-management/using-saml-for-enterprise-iam)." 1. To the right of "Set up your identity provider", click **Configure**. - !["Configure" button for IdP configuration](/assets/images/enterprise/configuration/ae-idp-configure.png) 1. Under "Sign on URL", copy and paste the URL for your SAML IdP. - ![Text field for SAML IdP's sign-on URL](/assets/images/enterprise/configuration/ae-idp-sign-on-url.png) 1. Under "Issuer", copy and paste the issuer URL for your SAML IdP. - ![Text field for SAML IdP's issuer URL](/assets/images/enterprise/configuration/ae-idp-issuer-url.png) 1. Under "Public certificate", copy and paste the public certificate for your SAML IdP. - ![Text field for SAML IdP's public certificate](/assets/images/enterprise/configuration/ae-idp-public-certificate.png) 1. Click **Test SAML configuration** to ensure that the information you've entered is correct. - !["Test SAML configuration" button](/assets/images/enterprise/configuration/ae-test-saml-configuration.png) 1. Click **Save**. - !["Save" button for IdP configuration](/assets/images/enterprise/configuration/ae-save.png) 1. {% data reusables.saml.assert-the-administrator-attribute %} ## Setting your enterprise policies @@ -71,47 +64,31 @@ To configure authentication for {% data variables.product.product_name %}, you m Configuring policies will set limitations for repository and organization management for your enterprise. These can be reconfigured after the initialization process. 1. To the right of "Set your enterprise policies", click **Configure**. - !["Configure" button for policies configuration](/assets/images/enterprise/configuration/ae-policies-configure.png) -2. Under "Default Repository Permissions", use the drop-down menu and click a default permissions level for repositories in your enterprise. If a person has multiple avenues of access to an organization, either individually, through a team, or as an organization member, the highest permission level overrides any lower permission levels. Optionally, to allow organizations within your enterprise to set their default repository permissions, click **No policy** - ![Drop-down menu for default repository permissions options](/assets/images/enterprise/configuration/ae-repository-permissions-menu.png) +2. Under "Default Repository Permissions", select the drop-down menu and click a default permissions level for repositories in your enterprise. If a person has multiple avenues of access to an organization, either individually, through a team, or as an organization member, the highest permission level overrides any lower permission levels. Optionally, to allow organizations within your enterprise to set their default repository permissions, click **No policy** 3. Under "Repository creation", choose whether you want to allow members to create repositories. Optionally, to allow organizations within your enterprise to set permissions, click **No policy**. - !["Members can create repositories" button for enterprise policies configuration](/assets/images/enterprise/configuration/ae-repository-creation-permissions.png) 4. Under "Repository forking", choose whether to allow forking of private and internal repositories. Optionally, to allow organizations within your enterprise to set permissions, click **No policy** - ![Drop-down menu for repository forking permissions options](/assets/images/enterprise/configuration/ae-repository-forking-menu.png) 5. Under "Repository invitations", choose whether members or organization owners can invite collaborators to repositories. Optionally, to allow organizations within your enterprise to set permissions, click **No policy** - ![Drop-down menu for repository invitation permissions options](/assets/images/enterprise/configuration/ae-repository-invitations-menu.png) -6. Under "Default repository visibility", use the drop-down menu and click the default visibility setting for new repositories. - ![Drop-down menu for default repository visibility options](/assets/images/enterprise/configuration/ae-repository-visibility-menu.png) -7. Under "Users can create organizations", use the drop-down menu to enable or disable organization creation access for members of the enterprise. - ![Drop-down menu for organization creation permissions options](/assets/images/enterprise/configuration/ae-organization-creation-permissions-menu.png) -8. Under "Force pushes", use the drop-down menu and choose whether to allow or block force pushes. - ![Drop-down menu for force pushes configuration options](/assets/images/enterprise/configuration/ae-force-pushes-configuration-menu.png) -9. Under "Git SSH access", use the drop-down menu and choose whether to enable Git SSH access for all repositories in the enterprise. - ![Drop-down menu for Git SSH access options](/assets/images/enterprise/configuration/ae-git-ssh-access-menu.png) -10. Click **Save** - !["Save" button for enterprise policies configuration](/assets/images/enterprise/configuration/ae-save.png) -11. Optionally, to reset all selections, click "Reset to default policies". - ![Link to reset all default policies](/assets/images/enterprise/configuration/ae-reset-default-options.png) +6. Under "Default repository visibility", select the drop-down menu and click the default visibility setting for new repositories. +7. Under "Users can create organizations", select the drop-down menu to enable or disable organization creation access for members of the enterprise. +8. Under "Force pushes", select the drop-down menu and choose whether to allow or block force pushes. +9. Under "Git SSH access", select the drop-down menu and choose whether to enable Git SSH access for all repositories in the enterprise. +10. Optionally, to reset all selections, click "Reset to default policies". +11. Click **Save**. ## Setting your internal support contact You can configure the method your users will use to contact your internal support team. This can be reconfigured after the initialization process. 1. To the right of "Internal support contact", click **Configure**. - !["Configure" button for internal support contact configuration](/assets/images/enterprise/configuration/ae-support-configure.png) 2. Under "Internal support contact", select the method for users of your enterprise to contact support, through a URL or an e-mail address. Then, type the support contact information. - ![Text field for internal support contact URL](/assets/images/enterprise/configuration/ae-support-link-url.png) 3. Click **Save**. - !["Save" button for enterprise support contact configuration](/assets/images/enterprise/configuration/ae-save.png) ## Setting your email settings Once this is initialized, you can reconfigure any settings after the initialization process. For more information, see "[AUTOTITLE](/admin/configuration/configuring-your-enterprise/configuring-email-for-notifications)." 1. To the right of "Configure email settings", click **Configure**. - !["Configure" button for email settings configuration](/assets/images/enterprise/configuration/ae-email-configure.png) 2. Select **Enable email**. This will enable both outbound and inbound email, however, for inbound email to work you will also need to configure your DNS settings. For more information, see "[AUTOTITLE](/admin/configuration/configuring-your-enterprise/configuring-email-for-notifications#configuring-dns-and-firewall-settings-to-allow-incoming-emails)." - !["Enable" checkbox for email settings configuration](/assets/images/enterprise/configuration/ae-enable-email-configure.png) 3. Complete your email server settings: - In the **Server address** field, type the address of your SMTP server. - In the **Port** field, type the port that your SMTP server uses to send email. @@ -120,10 +97,6 @@ Once this is initialized, you can reconfigure any settings after the initializat - In the **No-reply email address** field, type the email address to use in the From and To fields for all notification emails. 4. If you want to discard all incoming emails that are addressed to the no-reply email address, select **Discard email addressed to the no-reply email address**. - !["Discard" checkbox for email settings configuration](/assets/images/enterprise/configuration/ae-discard-email.png) 5. Click **Test email settings**. - !["Test email settings" button for email settings configuration](/assets/images/enterprise/configuration/ae-test-email.png) 6. Under "Send test email to," type the email address where you want to send a test email, then click **Send test email**. - !["Send test email" button for email settings configuration](/assets/images/enterprise/configuration/ae-send-test-email.png) -7. Click **Save**. - !["Save" button for enterprise support contact configuration](/assets/images/enterprise/configuration/ae-save.png) +7. Click **Save**. \ No newline at end of file diff --git a/content/admin/enterprise-management/configuring-clustering/about-cluster-nodes.md b/content/admin/enterprise-management/configuring-clustering/about-cluster-nodes.md index 2fba529c00..3f1473b767 100644 --- a/content/admin/enterprise-management/configuring-clustering/about-cluster-nodes.md +++ b/content/admin/enterprise-management/configuring-clustering/about-cluster-nodes.md @@ -63,12 +63,3 @@ Clustering allows services that make up {% data variables.product.prodname_ghe_s - `pages-server` - `storage-server` - `metrics-server` - -### Example cluster diagram -{% note %} - -**Note: This is only an example.** Your organization's optimal cluster design will depend on your unique needs. Talk to your dedicated representative or {% data variables.contact.contact_enterprise_sales %} so we can help you determine the best cluster configuration. - -{% endnote %} - -Example Cluster diff --git a/content/admin/enterprise-management/configuring-clustering/monitoring-cluster-nodes.md b/content/admin/enterprise-management/configuring-clustering/monitoring-cluster-nodes.md index d0e268ab30..bb9c305baa 100644 --- a/content/admin/enterprise-management/configuring-clustering/monitoring-cluster-nodes.md +++ b/content/admin/enterprise-management/configuring-clustering/monitoring-cluster-nodes.md @@ -116,6 +116,4 @@ You can configure [Nagios](https://www.nagios.org/) to monitor {% data variables } ``` -Once you add the definition to Nagios, the service check executes according to your configuration. You should be able to see the newly configured service in the Nagios web interface. - -![Nagios Example](/assets/images/enterprise/cluster/nagios-example.png) +After you add the definition to Nagios, the service check executes according to your configuration. You should be able to see the newly configured service in the Nagios web interface. diff --git a/content/admin/monitoring-activity-in-your-enterprise/exploring-user-activity/activity-dashboard.md b/content/admin/monitoring-activity-in-your-enterprise/exploring-user-activity/activity-dashboard.md index 4b60fd3bb5..1be241fb01 100644 --- a/content/admin/monitoring-activity-in-your-enterprise/exploring-user-activity/activity-dashboard.md +++ b/content/admin/monitoring-activity-in-your-enterprise/exploring-user-activity/activity-dashboard.md @@ -24,11 +24,8 @@ The Activity dashboard provides weekly, monthly, and yearly graphs of the number - New organizations - New teams -![Activity dashboard](/assets/images/enterprise/activity/activity-dashboard-yearly.png) - ## Accessing the Activity dashboard 1. At the top of any page, click **Explore**. -![Explore tab](/assets/images/enterprise/settings/ent-new-explore.png) -2. In the upper-right corner, click **Activity**. -![Activity button](/assets/images/enterprise/activity/activity-button.png) +![Screenshot of the navigation bar at the top of the web UI for GitHub Enterprise Server. The word "Explore" is highlighted with an orange outline.](/assets/images/enterprise/settings/ent-new-explore.png) +2. In the upper-right corner of the page, click {% octicon "pulse" aria-hidden="true" %} **Activity**. diff --git a/content/admin/monitoring-activity-in-your-enterprise/exploring-user-activity/log-forwarding.md b/content/admin/monitoring-activity-in-your-enterprise/exploring-user-activity/log-forwarding.md index f75e653d29..cefdfbecc0 100644 --- a/content/admin/monitoring-activity-in-your-enterprise/exploring-user-activity/log-forwarding.md +++ b/content/admin/monitoring-activity-in-your-enterprise/exploring-user-activity/log-forwarding.md @@ -38,19 +38,12 @@ When you enable log forwarding, you must upload a CA certificate to encrypt comm {% data reusables.enterprise-accounts.access-enterprise %} {% data reusables.enterprise-accounts.settings-tab %} 1. Under {% octicon "gear" aria-label="The Settings gear" %} **Settings**, click **Log forwarding**. - ![Log forwarding tab](/assets/images/enterprise/business-accounts/log-forwarding-tab.png) 1. Under "Log forwarding", select **Enable log forwarding**. - ![Checkbox to enable log forwarding](/assets/images/enterprise/business-accounts/enable-log-forwarding-checkbox.png) 1. Under "Server address", enter the address of the server you want to forward logs to. - ![Server address field](/assets/images/enterprise/business-accounts/server-address-field.png) -1. Use the "Protocol" drop-down menu, and select a protocol. - ![Protocol drop-down menu](/assets/images/enterprise/business-accounts/protocol-drop-down-menu.png) -1. Optionally, to enable TLS encrypted communication between syslog endpoints, select **Enable TLS**. - ![Checkbox to enable TLS](/assets/images/enterprise/business-accounts/enable-tls-checkbox.png) +1. Select the "Protocol" dropdown menu and click a protocol. +1. Optionally, to encrypt communication between syslog endpoints using TLS, select **Enable TLS**. 1. Under "Public certificate", paste your x509 certificate. - ![Text box for public certificate](/assets/images/enterprise/business-accounts/public-certificate-text-box.png) 1. Click **Save**. - ![Save button for log forwarding](/assets/images/enterprise/business-accounts/save-button-log-forwarding.png) {% endif %} {% ifversion ghes %} diff --git a/content/admin/user-management/managing-users-in-your-enterprise/customizing-user-messages-for-your-enterprise.md b/content/admin/user-management/managing-users-in-your-enterprise/customizing-user-messages-for-your-enterprise.md index f77161ff3e..535d71c0bf 100644 --- a/content/admin/user-management/managing-users-in-your-enterprise/customizing-user-messages-for-your-enterprise.md +++ b/content/admin/user-management/managing-users-in-your-enterprise/customizing-user-messages-for-your-enterprise.md @@ -126,9 +126,9 @@ You can also set an announcement banner{% ifversion ghes %} in the administrativ **Note:** Announcements must either have an expiration date, be user dismissible, or both. {% endnote %}{% endif %} -{% ifversion ghe-announce-dismiss %} +{%- ifversion ghe-announce-dismiss %} 1. Optionally, to allow each user to dismiss the announcement, select **User dismissible**. -{% endif %}{% ifversion custom-banner-messages %} +{%- endif %}{% ifversion custom-banner-messages %} 1. Optionally, to allow each user to dismiss the announcement, select **Allow users to dismiss the announcement**. -{% endif %} +{%- endif %} {% data reusables.enterprise_site_admin_settings.message-preview-save %} diff --git a/content/billing/managing-your-license-for-github-enterprise/downloading-your-license-for-github-enterprise.md b/content/billing/managing-your-license-for-github-enterprise/downloading-your-license-for-github-enterprise.md index a749896b1c..3121893524 100644 --- a/content/billing/managing-your-license-for-github-enterprise/downloading-your-license-for-github-enterprise.md +++ b/content/billing/managing-your-license-for-github-enterprise/downloading-your-license-for-github-enterprise.md @@ -30,8 +30,7 @@ If you have any questions about downloading your license, contact {% data variab {% data reusables.enterprise-accounts.access-enterprise-on-dotcom %} {% data reusables.enterprise-accounts.settings-tab %} -1. In the left sidebar, click **Enterprise licensing**. - !["Enterprise licensing" tab in the enterprise account settings sidebar](/assets/images/help/enterprises/enterprise-licensing-tab.png) +{% data reusables.enterprise-accounts.license-tab %} 1. Under "Enterprise Server licenses", next to the license you want to download, click **{% octicon "download" aria-hidden="true" %} Download**. After you download your license file, you can upload the file to {% data variables.location.product_location_enterprise %} to validate your application. For more information, see {% ifversion ghec %}"[AUTOTITLE](/enterprise-server@latest/billing/managing-your-license-for-github-enterprise/uploading-a-new-license-to-github-enterprise-server)" in the {% data variables.product.prodname_ghe_server %} documentation.{% elsif ghes %}"[AUTOTITLE](/enterprise-server@latest/billing/managing-your-license-for-github-enterprise/uploading-a-new-license-to-github-enterprise-server)."{% endif %} diff --git a/content/billing/managing-your-license-for-github-enterprise/syncing-license-usage-between-github-enterprise-server-and-github-enterprise-cloud.md b/content/billing/managing-your-license-for-github-enterprise/syncing-license-usage-between-github-enterprise-server-and-github-enterprise-cloud.md index 5a470d53f0..0bcb3dcf56 100644 --- a/content/billing/managing-your-license-for-github-enterprise/syncing-license-usage-between-github-enterprise-server-and-github-enterprise-cloud.md +++ b/content/billing/managing-your-license-for-github-enterprise/syncing-license-usage-between-github-enterprise-server-and-github-enterprise-cloud.md @@ -53,8 +53,9 @@ You can download a JSON file from {% data variables.product.prodname_ghe_server {% data reusables.enterprise-accounts.access-enterprise %} {% data reusables.enterprise-accounts.settings-tab %} {% data reusables.enterprise-accounts.license-tab %} -5. Under "Quick links", to download a file containing your current license usage on {% data variables.product.prodname_ghe_server %}, click **Export license usage**. - ![Export license usage link](/assets/images/enterprise/business-accounts/export-license-usage-link.png) +5. In the "User licenses" section, under "Quick links", to download a file containing your current license usage on {% data variables.product.prodname_ghe_server %}, click **Export license usage**. + + ![Screenshot of the "User licenses" section of the "License" page. A link, labeled "Export license usage", is outlined in dark orange.](/assets/images/enterprise/management-console/export-license-usage-link.png) {% data reusables.enterprise-accounts.access-enterprise-on-dotcom %} {% data reusables.enterprise-accounts.settings-tab %} {% data reusables.enterprise-accounts.license-tab %} diff --git a/content/billing/managing-your-license-for-github-enterprise/viewing-license-usage-for-github-enterprise.md b/content/billing/managing-your-license-for-github-enterprise/viewing-license-usage-for-github-enterprise.md index 997820b179..95fa4ae61a 100644 --- a/content/billing/managing-your-license-for-github-enterprise/viewing-license-usage-for-github-enterprise.md +++ b/content/billing/managing-your-license-for-github-enterprise/viewing-license-usage-for-github-enterprise.md @@ -36,8 +36,7 @@ You can view the license usage for your enterprise and download a file with lice {% data reusables.enterprise-accounts.access-enterprise-on-dotcom %} {% data reusables.enterprise-accounts.settings-tab %} -1. In the left sidebar, click **Enterprise licensing**. - !["Enterprise licensing" tab in the enterprise account settings sidebar](/assets/images/help/enterprises/enterprise-licensing-tab.png) +{% data reusables.enterprise-accounts.license-tab %} 1. Review your current {% data variables.product.prodname_enterprise %} license, as well as consumed and available user licenses. - To download the consumed license report as a CSV file, in the top right, click {% octicon "download" aria-label="The download icon" %}. For more information about reviewing the data in this report, see "[AUTOTITLE](/billing/managing-your-license-for-github-enterprise/troubleshooting-license-usage-for-github-enterprise)." - If you purchased {% data variables.product.prodname_GH_advanced_security %}, you can review your total {% ifversion ghas-billing-UI-update %}license{% else %}seat{% endif %} usage. For more information, see "[AUTOTITLE](/billing/managing-billing-for-github-advanced-security/viewing-your-github-advanced-security-usage)." @@ -57,8 +56,7 @@ You can view the license usage for your enterprise and download a file with lice {% data reusables.enterprise-accounts.access-enterprise-on-dotcom %} {% data reusables.enterprise-accounts.settings-tab %} -1. In the left sidebar, click **Enterprise licensing**. - !["Enterprise licensing" tab in the enterprise account settings sidebar](/assets/images/help/enterprises/enterprise-licensing-tab.png) +{% data reusables.enterprise-accounts.license-tab %} 1. To identify when the last license sync occurred, under "Enterprise Server instances", look for timestamps next to usage uploaded or synced events. - "Server usage uploaded" indicates license usage between environments was manually updated when a {% data variables.product.prodname_ghe_server %} license file was uploaded. - "{% data variables.product.prodname_github_connect %} server usage synced" indicates license usage between environments was automatically updated. diff --git a/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning-for-a-repository.md b/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning-for-a-repository.md index 8cd5a45a88..6e0ba53ea2 100644 --- a/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning-for-a-repository.md +++ b/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning-for-a-repository.md @@ -145,10 +145,11 @@ You can customize your {% data variables.product.prodname_code_scanning %} by cr Generally, you can commit the {% data variables.code-scanning.codeql_workflow %} without making any changes to it. However, many of the third-party workflows require additional configuration, so read the comments in the workflow before committing. For more information, see "[AUTOTITLE](/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning)." -2. Use the **Start commit** drop-down, and type a commit message. - ![Start commit](/assets/images/help/repository/start-commit-commit-new-file.png) -1. Choose whether you'd like to commit directly to the default branch, or create a new branch and start a pull request. - ![Choose where to commit](/assets/images/help/repository/start-commit-choose-where-to-commit.png) +1. Click **Commit changes...** + + ![Screenshot of the form to create a new file. To the right of the file name, a green button, labeled "Commit changes...", is outlined in dark orange.](/assets/images/help/repository/start-commit-commit-new-file.png) +1. In the commit message field, type a commit message. +1. Select whether you'd like to commit directly to the default branch, or create a new branch and start a pull request. 1. Click **Commit new file** or **Propose new file**. In the suggested {% data variables.code-scanning.codeql_workflow %}, {% data variables.product.prodname_code_scanning %} is configured to analyze your code each time you either push a change to the default branch or any protected branches, or raise a pull request against the default branch. As a result, {% data variables.product.prodname_code_scanning %} will now commence. @@ -168,10 +169,11 @@ The `on:pull_request` and `on:push` triggers for code scanning are each useful f Generally, you can commit the {% data variables.code-scanning.codeql_workflow %} without making any changes to it. However, many of the third-party workflows require additional configuration, so read the comments in the workflow before committing. For more information, see "[AUTOTITLE](/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning)." -2. Use the **Start commit** drop-down, and type a commit message. - ![Start commit](/assets/images/help/repository/start-commit-commit-new-file.png) +1. Click **Commit changes...** + + ![Screenshot of the form to create a new file. To the right of the file name, a green button, labeled "Commit changes...", is outlined in dark orange.](/assets/images/help/repository/start-commit-commit-new-file.png) +1. In the text field, type a commit message. 1. Choose whether you'd like to commit directly to the default branch, or create a new branch and start a pull request. - ![Choose where to commit](/assets/images/help/repository/start-commit-choose-where-to-commit.png) 1. Click **Commit new file** or **Propose new file**. In the suggested {% data variables.code-scanning.codeql_workflow %}, {% data variables.product.prodname_code_scanning %} is configured to analyze your code each time you either push a change to the default branch or any protected branches, or raise a pull request against the default branch. As a result, {% data variables.product.prodname_code_scanning %} will now commence. diff --git a/content/code-security/dependabot/dependabot-alerts/configuring-dependabot-alerts.md b/content/code-security/dependabot/dependabot-alerts/configuring-dependabot-alerts.md index 30c21d4345..9ae1eecbde 100644 --- a/content/code-security/dependabot/dependabot-alerts/configuring-dependabot-alerts.md +++ b/content/code-security/dependabot/dependabot-alerts/configuring-dependabot-alerts.md @@ -70,10 +70,12 @@ By default, we notify people with admin permissions in the affected repositories {% data reusables.repositories.sidebar-settings %} {% data reusables.repositories.navigate-to-code-security-and-analysis %} 1. Under "Code security and analysis", to the right of {% data variables.product.prodname_dependabot_alerts %}, click **Enable** to enable alerts or **Disable** to disable alerts. - ![Screenshot of "Code security and analysis" section with button to enable {% data variables.product.prodname_dependabot_security_updates %}](/assets/images/help/repository/security-and-analysis-disable-or-enable-fpt-private.png) -{% endif %}{% ifversion ghes or ghae %} + +{% endif %} +{% ifversion ghes or ghae %} {% data variables.product.prodname_dependabot_alerts %} for your repository can be enabled or disabled by your enterprise owner. For more information, see "[AUTOTITLE](/admin/configuration/configuring-github-connect/enabling-dependabot-for-your-enterprise)." + {% endif %} ## Managing {% data variables.product.prodname_dependabot_alerts %} for your organization diff --git a/content/code-security/dependabot/dependabot-security-updates/configuring-dependabot-security-updates.md b/content/code-security/dependabot/dependabot-security-updates/configuring-dependabot-security-updates.md index 4ccbf39154..303738451a 100644 --- a/content/code-security/dependabot/dependabot-security-updates/configuring-dependabot-security-updates.md +++ b/content/code-security/dependabot/dependabot-security-updates/configuring-dependabot-security-updates.md @@ -38,7 +38,7 @@ You can disable {% data variables.product.prodname_dependabot_security_updates % ## Supported repositories -{% data variables.product.prodname_dotcom %} automatically enables {% data variables.product.prodname_dependabot_security_updates %} for newly created repositories if your personal account or organization has enabled **Automatically enable for new repositories** for {% data variables.product.prodname_dependabot_security_updates %}. For more information, see "[Managing {% data variables.product.prodname_dependabot_security_updates %} for your repositories](#managing-dependabot-security-updates-for-your-repositories)." +{% data variables.product.prodname_dotcom %} automatically enables {% data variables.product.prodname_dependabot_security_updates %} for newly created repositories if your personal account or organization has enabled **Automatically enable for new repositories** for {% data variables.product.prodname_dependabot_security_updates %}. For more information, see "[Managing {% data variables.product.prodname_dependabot_security_updates %} for your repositories](#managing-dependabot-security-updates-for-your-repositories)." If you create a fork of a repository that has security updates enabled, {% data variables.product.prodname_dotcom %} will automatically disable {% data variables.product.prodname_dependabot_security_updates %} for the fork. You can then decide whether to enable {% data variables.product.prodname_dependabot_security_updates %} on the specific fork. @@ -46,7 +46,7 @@ If security updates are not enabled for your repository and you don't know why, ## Managing {% data variables.product.prodname_dependabot_security_updates %} for your repositories -You can enable or disable {% data variables.product.prodname_dependabot_security_updates %} for all qualifying repositories owned by your personal account or organization. For more information, see "[AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/managing-security-and-analysis-settings-for-your-personal-account)" or "[AUTOTITLE](/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/managing-security-and-analysis-settings-for-your-organization)." +You can enable or disable {% data variables.product.prodname_dependabot_security_updates %} for all qualifying repositories owned by your personal account or organization. For more information, see "[AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/managing-security-and-analysis-settings-for-your-personal-account)" or "[AUTOTITLE](/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/managing-security-and-analysis-settings-for-your-organization)." You can also enable or disable {% data variables.product.prodname_dependabot_security_updates %} for an individual repository. @@ -56,11 +56,10 @@ You can also enable or disable {% data variables.product.prodname_dependabot_sec {% data reusables.repositories.sidebar-settings %} {% data reusables.repositories.navigate-to-code-security-and-analysis %} 1. Under "Code security and analysis", to the right of "{% data variables.product.prodname_dependabot %} security updates", click **Enable** to enable the feature or **Disable** to disable it. {% ifversion fpt or ghec %}For public repositories, the button is disabled if the feature is always enabled.{% endif %} - {% ifversion fpt or ghec %}![Screenshot of "Code security and analysis" section with button to enable {% data variables.product.prodname_dependabot_security_updates %}](/assets/images/help/repository/security-and-analysis-disable-or-enable-fpt-private.png){% elsif ghes > 3.6 or ghae > 3.6 %} {% else %}![Screenshot of "Code security and analysis" section with button to enable {% data variables.product.prodname_dependabot_security_updates %}](/assets/images/enterprise/3.3/repository/security-and-analysis-disable-or-enable-ghes.png){% endif %} ## Overriding the default behavior with a configuration file -You can override the default behavior of {% data variables.product.prodname_dependabot_security_updates %} by adding a dependabot.yml file to your repository. For more information, see "[AUTOTITLE](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file)." +You can override the default behavior of {% data variables.product.prodname_dependabot_security_updates %} by adding a dependabot.yml file to your repository. For more information, see "[AUTOTITLE](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file)." If you only require security updates and want to exclude version updates, you can set `open-pull-requests-limit` to `0` in order to prevent version updates for a given `package-ecosystem`. For more information, see "[AUTOTITLE](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#open-pull-requests-limit)." diff --git a/content/code-security/supply-chain-security/understanding-your-software-supply-chain/exploring-the-dependencies-of-a-repository.md b/content/code-security/supply-chain-security/understanding-your-software-supply-chain/exploring-the-dependencies-of-a-repository.md index 5fc5827842..ff2ef29f94 100644 --- a/content/code-security/supply-chain-security/understanding-your-software-supply-chain/exploring-the-dependencies-of-a-repository.md +++ b/content/code-security/supply-chain-security/understanding-your-software-supply-chain/exploring-the-dependencies-of-a-repository.md @@ -86,7 +86,7 @@ You may notice some repositories have a "Used by" section in the sidebar of the The "Used by" section shows the number of public references to the package that were found, and displays the avatars of some of the owners of the dependent projects. -!["Used by" sidebar section](/assets/images/help/repository/used-by-section.png) +![Screenshot of the "Used by" section for a repository. To the right of the "Used by" header is "13.4m." Under the header are 8 avatars and "+13,435,819."](/assets/images/help/repository/used-by-section.png) Clicking any item in this section takes you to the **Dependents** tab of the dependency graph. diff --git a/content/communities/maintaining-your-safety-on-github/reporting-abuse-or-spam.md b/content/communities/maintaining-your-safety-on-github/reporting-abuse-or-spam.md index c5b8e015a3..f171411638 100644 --- a/content/communities/maintaining-your-safety-on-github/reporting-abuse-or-spam.md +++ b/content/communities/maintaining-your-safety-on-github/reporting-abuse-or-spam.md @@ -57,9 +57,8 @@ Users in India can contact GitHub's Grievance Officer for India [here](https://s ## Reporting contact link abuse in the template chooser 1. Navigate to the repository that contains the contact link you'd like to report. -1. Under the repository name, click {% octicon "issue-opened" aria-label="The issues icon" %} **Issues**. +1. Under the repository name, click {% octicon "issue-opened" aria-hidden="true" %} **Issues**. 1. In the lower-right corner of the template chooser, click **Report abuse**. - ![Link to report an abuse](/assets/images/help/repository/template-chooser-report-abuse.png) 1. Complete the contact form to tell {% data variables.contact.contact_support %} about the contact link's behavior, then click **Send request**. ## Further reading diff --git a/content/communities/moderating-comments-and-conversations/limiting-interactions-for-your-personal-account.md b/content/communities/moderating-comments-and-conversations/limiting-interactions-for-your-personal-account.md index 23db935084..0318d5fdd6 100644 --- a/content/communities/moderating-comments-and-conversations/limiting-interactions-for-your-personal-account.md +++ b/content/communities/moderating-comments-and-conversations/limiting-interactions-for-your-personal-account.md @@ -23,11 +23,10 @@ Limiting interactions for your personal account enables temporary interaction li When you enable user-wide activity limitations, you can't enable or disable interaction limits on individual repositories. For more information on limiting activity for an individual repository, see "[AUTOTITLE](/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository)." -You can also block users. For more information, see "[AUTOTITLE](/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-personal-account)." +You can also block users. For more information, see "[AUTOTITLE](/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-personal-account)." ## Limiting interactions for your personal account {% data reusables.user-settings.access_settings %} -1. In the "Access" section of the sidebar, select **{% octicon "report" aria-label="The report icon" %} Moderation** then click **Interaction limits**. +1. In the "Access" section of the sidebar, select **{% octicon "report" aria-hidden="true" %} Moderation** then click **Interaction limits**. {% data reusables.community.set-interaction-limit %} - ![Temporary interaction limit options](/assets/images/help/settings/user-account-temporary-interaction-limits-options.png) diff --git a/content/communities/moderating-comments-and-conversations/limiting-interactions-in-your-organization.md b/content/communities/moderating-comments-and-conversations/limiting-interactions-in-your-organization.md index 28b0d9fa9b..1da84c71d8 100644 --- a/content/communities/moderating-comments-and-conversations/limiting-interactions-in-your-organization.md +++ b/content/communities/moderating-comments-and-conversations/limiting-interactions-in-your-organization.md @@ -33,12 +33,11 @@ Organization owners and moderators can also block users for a specific amount of {% data reusables.profile.access_org %} {% data reusables.profile.org_settings %} -1. _For organization owners:_ In the "Access" section of the sidebar, select **{% octicon "report" aria-label="The report icon" %} Moderation**, then click **Interaction limits**. +1. _For organization owners:_ In the "Access" section of the sidebar, select **{% octicon "report" aria-hidden="true" %} Moderation**, then click **Interaction limits**. _For organization moderators:_ In the sidebar, click **Interaction limits**. {% data reusables.community.set-interaction-limit %} - ![Temporary interaction limit options](/assets/images/help/organizations/organization-temporary-interaction-limits-options.png) ## Further reading - "[AUTOTITLE](/communities/maintaining-your-safety-on-github/reporting-abuse-or-spam)" diff --git a/content/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository.md b/content/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository.md index 9beeb70f2a..23bebc32d0 100644 --- a/content/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository.md +++ b/content/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository.md @@ -28,9 +28,8 @@ You can also enable activity limitations on all repositories owned by your perso {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} -1. In the sidebar, select **{% octicon "comment-discussion" aria-label="The comment-discussion icon" %} Moderation options**, then click **Interaction limits**. +1. In the sidebar, select **{% octicon "comment-discussion" aria-hidden="true" %} Moderation options**, then click **Interaction limits**. {% data reusables.community.set-interaction-limit %} - ![Temporary interaction limit options](/assets/images/help/repository/temporary-interaction-limits-options.png) ## Further reading - "[AUTOTITLE](/communities/maintaining-your-safety-on-github/reporting-abuse-or-spam)" diff --git a/content/communities/moderating-comments-and-conversations/managing-how-contributors-report-abuse-in-your-organizations-repository.md b/content/communities/moderating-comments-and-conversations/managing-how-contributors-report-abuse-in-your-organizations-repository.md index 9ca5b10d9e..3f87096416 100644 --- a/content/communities/moderating-comments-and-conversations/managing-how-contributors-report-abuse-in-your-organizations-repository.md +++ b/content/communities/moderating-comments-and-conversations/managing-how-contributors-report-abuse-in-your-organizations-repository.md @@ -18,8 +18,7 @@ You can enable or disable reported content for public repositories owned by an o {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} {% data reusables.repositories.sidebar-moderation-reported-content %} -4. Under "Reported content", select or unselect **Accept content reports from collaborators and prior contributors**. - ![Checkbox for opting into or out of reported content for a repository](/assets/images/help/repository/reported-content-opt-in-checkbox.png) +4. Under "Reported content", select or deselect **Accept content reports from collaborators and prior contributors**. ## Further reading diff --git a/content/communities/moderating-comments-and-conversations/managing-reported-content-in-your-organizations-repository.md b/content/communities/moderating-comments-and-conversations/managing-reported-content-in-your-organizations-repository.md index 2a7c9efbb2..4cb20230ac 100644 --- a/content/communities/moderating-comments-and-conversations/managing-reported-content-in-your-organizations-repository.md +++ b/content/communities/moderating-comments-and-conversations/managing-reported-content-in-your-organizations-repository.md @@ -9,10 +9,9 @@ redirect_from: topics: - Community shortTitle: Manage reported content +permissions: Anyone with admin permissions to a repository can view and manage reported content for the repository. --- -Anyone with admin permissions to a repository can view and manage reported content for the repository. - ## About management of reported content Before you can view or manage reported content, you must enable reported content for the repository. For more information, see "[AUTOTITLE](/communities/moderating-comments-and-conversations/managing-how-contributors-report-abuse-in-your-organizations-repository)." @@ -28,16 +27,18 @@ After you finish moderating disruptive content, you can mark the report as resol {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} {% data reusables.repositories.sidebar-moderation-reported-content %} -4. To the right of the reported content you'd like to view, click {% octicon "kebab-horizontal" aria-label="The edit icon" %}, then click **View content**. - !["View content" in Edit drop-down for reported content](/assets/images/help/repository/reported-content-report-view-content.png) +1. To the right of the reported content you'd like to view, click {% octicon "kebab-horizontal" aria-label="Show options" %}, then click **View content**. + + ![Screenshot of a reported comment. In the upper-right corner, a kebab icon is outlined in dark orange.](/assets/images/help/repository/reported-content-kebab.png) ## Resolving a report {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} {% data reusables.repositories.sidebar-moderation-reported-content %} -4. To the right of the report you'd like to resolve, click {% octicon "kebab-horizontal" aria-label="The edit icon" %}, then click **Mark as resolved**. - !["Mark as resolved" in Edit drop-down for reported content](/assets/images/help/repository/reported-content-mark-report-as-resolved.png) +1. To the right of the report you'd like to resolve, click {% octicon "kebab-horizontal" aria-label="Show options" %}, then click **Mark as resolved**. + + ![Screenshot of a reported comment. In the upper-right corner, a kebab icon is outlined in dark orange.](/assets/images/help/repository/reported-content-kebab.png) ## Unresolving a report @@ -45,8 +46,9 @@ After you finish moderating disruptive content, you can mark the report as resol {% data reusables.repositories.sidebar-settings %} {% data reusables.repositories.sidebar-moderation-reported-content %} {% data reusables.repositories.reported-content-resolved-tab %} -5. To the right of the report you'd like to unresolve, click {% octicon "kebab-horizontal" aria-label="The edit icon" %}, then click **Mark as unresolved**. - !["Mark as unresolved" in Edit drop-down for reported content](/assets/images/help/repository/reported-content-mark-report-as-unresolved.png) +1. To the right of the report you'd like to unresolve, click {% octicon "kebab-horizontal" aria-label="Show options" %}, then click **Mark as unresolved**. + + ![Screenshot of a reported comment. In the upper-right corner, a kebab icon is outlined in dark orange.](/assets/images/help/repository/reported-content-kebab.png) ## Further reading diff --git a/content/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository.md b/content/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository.md index 928b55db22..a55995f946 100644 --- a/content/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository.md +++ b/content/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository.md @@ -14,7 +14,7 @@ shortTitle: Add a license to a repo --- If you include a detectable license in your repository, people who visit your repository will see it at the top of the repository page. To read the entire license file, click the license name. -![A repository header with an MIT license](/assets/images/help/repository/repo-license-indicator.png) +![Screenshot of the main page of the github/linguist repository. In the right sidebar, "MIT license," preceded by a law icon, is outlined in dark orange.](/assets/images/help/repository/repo-license-indicator.png) Open source licenses enable others to freely use, change, and distribute the project in your repository. For more information on repository licenses, see "[AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository)." diff --git a/content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository.md b/content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository.md index 3ebed83731..ad3be97857 100644 --- a/content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository.md +++ b/content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository.md @@ -29,8 +29,7 @@ shortTitle: Configure 1. Use the **Add template** dropdown menu, and click on the type of template you'd like to create. ![Screenshot of the "Add template" dropdown menu expanded to show the standard "Bug report" and "Feature request" templates. In addition, the "Custom template" is listed.](/assets/images/help/repository/add-template-drop-down-menu.png) -1. To preview or edit the template before committing it to the repository, click **Preview and edit**. -![Preview and edit button](/assets/images/help/repository/preview-and-edit-button.png) +1. To preview or edit the template before committing it to the repository, next to the template, click **Preview and edit**. 1. To edit the template, click {% octicon "pencil" aria-label="Edit template" %}, and type in the fields to edit their contents. ![Screenshot of the preview of an issue template. To the right of the template name, a pencil icon is outlined in dark orange.](/assets/images/help/repository/issue-template-edit-button.png) @@ -55,10 +54,11 @@ Here is an example of an issue form configuration file. {% data reusables.community.issue-forms-sample %} Here is the rendered version of the issue form. - ![A rendered issue form](/assets/images/help/repository/sample-issue-form.png) + +![Screenshot of a rendered issue form, with a mix of text fields and dropdown menus.](/assets/images/help/repository/sample-issue-form.png) 1. Choose a repository where you want to create an issue form. You can use an existing repository that you have write access to, or you can create a new repository. For more information about creating a repository, see "[AUTOTITLE](/repositories/creating-and-managing-repositories/creating-a-new-repository)." -2. In your repository, create a file called `.github/ISSUE_TEMPLATE/FORM-NAME.yml`, replacing `FORM-NAME` with the name for your issue form. For more information about creating new files on GitHub, see "[AUTOTITLE](/repositories/working-with-files/managing-files/creating-new-files)." +1. In your repository, create a file called `.github/ISSUE_TEMPLATE/FORM-NAME.yml`, replacing `FORM-NAME` with the name for your issue form. For more information about creating new files on GitHub, see "[AUTOTITLE](/repositories/working-with-files/managing-files/creating-new-files)." 3. In the body of the new file, type the contents of your issue form. For more information, see "[AUTOTITLE](/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms)." 4. Commit your file to the default branch of your repository. For more information, see "[AUTOTITLE](/repositories/working-with-files/managing-files/creating-new-files)." @@ -95,10 +95,8 @@ Your configuration file will customize the template chooser when the file is mer {% data reusables.repositories.navigate-to-repo %} {% data reusables.files.add-file %} -3. In the file name field, type `.github/ISSUE_TEMPLATE/config.yml`. - ![Configuration filename](/assets/images/help/repository/template-config-file-name.png) -4. In the body of the new file, type the contents of your configuration file. - ![Configuration file content](/assets/images/help/repository/template-config-file-content.png) +1. In the file name field, type `.github/ISSUE_TEMPLATE/config.yml`. +1. In the body of the new file, type the contents of your configuration file. {% data reusables.files.write_commit_message %} {% data reusables.files.choose_commit_branch %} {% data reusables.files.propose_new_file %} diff --git a/content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/creating-a-pull-request-template-for-your-repository.md b/content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/creating-a-pull-request-template-for-your-repository.md index 51aec990a7..622dbba00c 100644 --- a/content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/creating-a-pull-request-template-for-your-repository.md +++ b/content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/creating-a-pull-request-template-for-your-repository.md @@ -28,16 +28,12 @@ You can create default pull request templates for your organization{% ifversion {% data reusables.repositories.navigate-to-repo %} {% data reusables.files.add-file %} -3. In the file name field: +1. In the file name field: - To make your pull request template visible in the repository's root directory, name the pull request template `pull_request_template.md`. - ![New pull request template name in root directory](/assets/images/help/repository/pr-template-file-name.png) - To make your pull request template visible in the repository's `docs` directory, name the pull request template `docs/pull_request_template.md`. - ![New pull request template in docs directory](/assets/images/help/repository/pr-template-file-name-docs.png) - To store your file in a hidden directory, name the pull request template `.github/pull_request_template.md`. - ![New pull request template in hidden directory](/assets/images/help/repository/pr-template-hidden-directory.png) - To create multiple pull request templates and use the `template` query parameter to specify a template to fill the pull request body, type *.github/PULL_REQUEST_TEMPLATE/*, then the name of your pull request template. For example, `.github/PULL_REQUEST_TEMPLATE/pull_request_template.md`. You can also store multiple pull request templates in a `PULL_REQUEST_TEMPLATE` subdirectory within the root or `docs/` directories. For more information, see "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/using-query-parameters-to-create-a-pull-request)." - ![New multiple pull request template in hidden directory](/assets/images/help/repository/pr-template-multiple-hidden-directory.png) -4. In the body of the new file, add your pull request template. This could include: +1. In the body of the new file, add your pull request template. This could include: - A [reference to a related issue](/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#referencing-issues-and-pull-requests) in your repository. - A description of the changes proposed in the pull request. - [@mentions](/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#mentioning-people-and-teams) of the person or team responsible for reviewing proposed changes. diff --git a/content/copilot/configuring-github-copilot/configuring-github-copilot-in-your-environment.md b/content/copilot/configuring-github-copilot/configuring-github-copilot-in-your-environment.md index 4fab787017..f6dc40b825 100644 --- a/content/copilot/configuring-github-copilot/configuring-github-copilot-in-your-environment.md +++ b/content/copilot/configuring-github-copilot/configuring-github-copilot-in-your-environment.md @@ -279,6 +279,36 @@ You can specify which languages you want to enable or disable {% data variables. } ``` +## Revoking {% data variables.product.prodname_copilot %} authorization + +{% data variables.product.prodname_vscode %} retains authorization to use {% data variables.product.prodname_copilot %} through a particular {% data variables.product.prodname_dotcom %} account. If you want to prevent your {% data variables.product.prodname_dotcom %} account being used for {% data variables.product.prodname_copilot %} on a device you no longer have access to, you can revoke authorization and then go through the authorization process again. The device you previously used will not have the new authorization. + +{% data reusables.user-settings.access_settings %} +{% data reusables.user-settings.access_applications %} +{% data reusables.user-settings.access_authorized_oauth_apps %} +1. Click the **...** next to **{% data variables.product.prodname_dotcom %} for {% data variables.product.prodname_vscode_shortname %}** and click **Revoke**. +{% data reusables.user-settings.access_authorized_github_apps %} +1. If the **{% data variables.product.prodname_copilot %}** plugin is listed, click **Revoke**. + +After revoking authorization, {% data variables.product.prodname_vscode %} will be able to continue using {% data variables.product.prodname_copilot %} in a current session for a maximum of 30 minutes. After that time, you will need to re-authorize {% data variables.product.prodname_copilot %} for use in {% data variables.product.prodname_vscode %} again. + +## Re-authorizing {% data variables.product.prodname_copilot %} + +After you have revoked authorization, if you want to continue using {% data variables.product.prodname_copilot %}, you will need to complete the re-authorization process. + +1. In the bottom left corner of {% data variables.product.prodname_vscode %}, click the **Accounts** icon, hover over your username, and click **Sign out**. + + ![Screenshot of the menu in {% data variables.product.prodname_vscode %}. The "Sign out" option is outlined in dark orange.](/assets/images/help/copilot/vsc-sign-out.png) + +1. In the "{% data variables.product.prodname_vscode %}" pop-up, click **Sign Out**. + +1. In the bottom left corner of {% data variables.product.prodname_vscode %}, click the **Accounts** icon, hover over your username, and click **Sign in with {% data variables.product.prodname_dotcom %} to use {% data variables.product.prodname_copilot %}**. + + ![Screenshot of the accounts menu in {% data variables.product.prodname_vscode %}. The "Sign in with {% data variables.product.prodname_dotcom %} to use {% data variables.product.prodname_copilot %} (1)" option is outlined in dark orange.](/assets/images/help/copilot/vsc-sign-in.png) + +1. In your browser, {% data variables.product.prodname_dotcom %} will request the necessary permissions for {% data variables.product.prodname_copilot %}. To approve these permissions, click **Continue**. +1. In the "Open {% data variables.product.prodname_vscode %}?" pop-up, click **Open {% data variables.product.prodname_vscode %}**. + ## Configuring proxy settings for {% data variables.product.prodname_copilot %} You can configure {% data variables.product.prodname_copilot %} to connect through an HTTP proxy server in {% data variables.product.prodname_vscode %}. {% data variables.product.prodname_copilot %} supports basic HTTP proxy setups, with or without basic authentication. diff --git a/content/get-started/privacy-on-github/managing-data-use-settings-for-your-private-repository.md b/content/get-started/privacy-on-github/managing-data-use-settings-for-your-private-repository.md index af6bddf411..76d29f2b15 100644 --- a/content/get-started/privacy-on-github/managing-data-use-settings-for-your-private-repository.md +++ b/content/get-started/privacy-on-github/managing-data-use-settings-for-your-private-repository.md @@ -17,17 +17,17 @@ shortTitle: Manage data use for private repo ## About data use for your private repository -You can control data use for your private repository with the security and analysis features. +You can control data use for your private repository with the security and analysis features. -- Enable the dependency graph to allow read-only data analysis on your repository. -- Disable the dependency graph to block read-only data analysis of your repository. +- Enable the dependency graph to allow read-only data analysis on your repository. +- Disable the dependency graph to block read-only data analysis of your repository. When you enable data use for your private repository, you'll be able to access the dependency graph, where you can track your repository's dependencies and receive {% data variables.product.prodname_dependabot_alerts %} when {% data variables.product.product_name %} detects vulnerable dependencies. For more information, see "[AUTOTITLE](/code-security/dependabot/dependabot-alerts/about-dependabot-alerts#dependabot-alerts-for-vulnerable-dependencies)." {% note %} -**Note:** If you disable the dependency graph, {% data variables.product.prodname_dependabot_alerts %} and {% data variables.product.prodname_dependabot_security_updates %} are also disabled. For more information, see "[AUTOTITLE](/code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph)." +**Note:** If you disable the dependency graph, {% data variables.product.prodname_dependabot_alerts %} and {% data variables.product.prodname_dependabot_security_updates %} are also disabled. For more information, see "[AUTOTITLE](/code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph)." {% endnote %} @@ -38,9 +38,7 @@ When you enable data use for your private repository, you'll be able to access t {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} {% data reusables.repositories.navigate-to-code-security-and-analysis %} -4. Under "Code security and analysis", to the right of the feature, click **Disable** or **Enable**.{% ifversion fpt %} - !["Enable" or "Disable" button for "Configure security and analysis" features](/assets/images/help/repository/security-and-analysis-disable-or-enable-fpt-private.png){% elsif ghec %} - !["Enable" or "Disable" button for "Configure security and analysis" features](/assets/images/help/repository/security-and-analysis-disable-or-enable-ghec-private.png){% endif %} +1. Under "Code security and analysis", to the right of the feature, click **Disable** or **Enable**. ## Further reading diff --git a/content/get-started/quickstart/be-social.md b/content/get-started/quickstart/be-social.md index fe2d0b72c5..29dfc04951 100644 --- a/content/get-started/quickstart/be-social.md +++ b/content/get-started/quickstart/be-social.md @@ -33,9 +33,9 @@ For more information, see "[AUTOTITLE](/get-started/exploring-projects-on-github You can subscribe to a repository to watch it and receive notifications for activity in it. When the owner updates the repository, you will see the changes in your personal dashboard. For more information, see "[AUTOTITLE](/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/viewing-your-subscriptions)." -Click **Watch** at the top of a repository to watch it. +To watch a repository, at the top of the page, click **Watch**. -![Watch repository button](/assets/images/help/repository/repo-actions-watch.png) +![Screenshot of the main page of the github/docs repository. A button, labeled with an eye icon and "Watch 2.1k", is outlined in dark orange.](/assets/images/help/repository/repo-actions-watch.png) ## Joining the conversation diff --git a/content/get-started/using-git/getting-changes-from-a-remote-repository.md b/content/get-started/using-git/getting-changes-from-a-remote-repository.md index 374d97aa74..10fb1f1f58 100644 --- a/content/get-started/using-git/getting-changes-from-a-remote-repository.md +++ b/content/get-started/using-git/getting-changes-from-a-remote-repository.md @@ -27,9 +27,9 @@ $ git clone https://{% data variables.command_line.codeblock %}/USERNAME/REPOSIT # Clones a repository to your computer ``` -You can choose from [several different URLs](/get-started/getting-started-with-git/about-remote-repositories) when cloning a repository. While logged in to {% data variables.product.prodname_dotcom %}, these URLs are available below the repository details: +You can choose from [several different URLs](/get-started/getting-started-with-git/about-remote-repositories) when cloning a repository. While logged in to {% data variables.product.prodname_dotcom %}, these URLs are available on the main page of the repository when you click **{% octicon "code" aria-hidden="true" %} Code**. -![Remote URL list](/assets/images/help/repository/remotes-url.png) +![Screenshot of the main page of a repository. A green button, labeled "Code," is outlined in dark orange and expanded to show the HTTPS URL for the repository.](/assets/images/help/repository/remotes-url.png) When you run `git clone`, the following actions occur: - A new folder called `repo` is made diff --git a/content/get-started/writing-on-github/working-with-advanced-formatting/creating-a-permanent-link-to-a-code-snippet.md b/content/get-started/writing-on-github/working-with-advanced-formatting/creating-a-permanent-link-to-a-code-snippet.md index c2eb8596ee..89c3c7f184 100644 --- a/content/get-started/writing-on-github/working-with-advanced-formatting/creating-a-permanent-link-to-a-code-snippet.md +++ b/content/get-started/writing-on-github/working-with-advanced-formatting/creating-a-permanent-link-to-a-code-snippet.md @@ -15,11 +15,12 @@ topics: - Pull requests shortTitle: Permanent links to code --- + ## Linking to code This type of permanent link will render as a code snippet only in the repository it originated in. In other repositories, the permalink code snippet will render as a URL. -![Code snippet rendered in a comment](/assets/images/help/repository/rendered-code-snippet.png) +![Screenshot of an issue comment. A code snippet has a header that lists the file name and line numbers, and a body that lists the code on those lines.](/assets/images/help/repository/rendered-code-snippet.png) {% tip %} @@ -28,15 +29,15 @@ This type of permanent link will render as a code snippet only in the repository {% endtip %} {% data reusables.repositories.navigate-to-repo %} -2. Locate the code you'd like to link to: +1. Locate the code you'd like to link to: - To link to code from a file, navigate to the file. - To link to code from a pull request, navigate to the pull request and click {% octicon "diff" aria-label="The file diff icon" %} **Files changed**. Then, browse to the file that contains the code you want include in your comment, and click **View**. {% data reusables.repositories.choose-line-or-range %} -4. To the left of the line or range of lines, click {% octicon "kebab-horizontal" aria-label="The horizontal kebab octicon" %}. In the drop-down menu, click **Copy permalink**. - ![Kebab menu with option to copy a permanent link for a selected line](/assets/images/help/repository/copy-permalink-specific-line.png) -5. Navigate to the conversation where you want to link to the code snippet. -6. Paste your permalink into a comment, and click **Comment**. - ![Pasted permalink in a comment in the same repository](/assets/images/help/repository/code-snippet-permalink-in-comment.png) +1. To the left of the line or range of lines, click {% octicon "kebab-horizontal" aria-label="Code line X options" %}. In the drop-down menu, click **Copy permalink**. + + ![Screenshot of a file, with 8 lines selected. To the left of the first selected line, a button labeled with a kebab icon is outlined in dark orange.](/assets/images/help/repository/open-new-issue-specific-line.png) +1. Navigate to the conversation where you want to link to the code snippet. +1. Paste your permalink into a comment, and click **Comment**. ## Linking to Markdown diff --git a/content/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository.md b/content/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository.md index e4eb1d2294..9462f034eb 100644 --- a/content/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository.md +++ b/content/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository.md @@ -20,5 +20,4 @@ shortTitle: Pin an issue {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-issues %} 1. In the list of issues, click the issue you'd like to pin. -2. In the right sidebar, click **Pin issue**. - ![Button to pin issue](/assets/images/help/repository/pin-issue.png) +1. In the right sidebar, click **Pin issue**. diff --git a/content/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository.md b/content/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository.md index b7f3d32e9f..b59a90b28c 100644 --- a/content/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository.md +++ b/content/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository.md @@ -33,13 +33,10 @@ People or teams who are mentioned in the issue will receive a notification letti {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-issues %} -3. In the list of issues, click the issue you'd like to transfer. -4. In the right sidebar, click **Transfer issue**. -![Button to transfer issue](/assets/images/help/repository/transfer-issue.png) -5. Use the **Choose a repository** drop-down menu, and select the repository you want to transfer the issue to. -![Choose a repository selection](/assets/images/help/repository/choose-a-repository.png) -6. Click **Transfer issue**. -![Transfer issue button](/assets/images/help/repository/transfer-issue-button.png) +1. In the list of issues, click the issue you'd like to transfer. +1. In the right sidebar, click **Transfer issue**. +1. Select the **Choose a repository** dropdown menu, and click the repository you want to transfer the issue to. +1. Click **Transfer issue**. {% endwebui %} diff --git a/content/migrations/using-github-enterprise-importer/migrating-repositories-with-github-enterprise-importer/migrating-repositories-from-azure-devops-to-github-enterprise-cloud.md b/content/migrations/using-github-enterprise-importer/migrating-repositories-with-github-enterprise-importer/migrating-repositories-from-azure-devops-to-github-enterprise-cloud.md index fb85c96e6b..c9761ef3b2 100644 --- a/content/migrations/using-github-enterprise-importer/migrating-repositories-with-github-enterprise-importer/migrating-repositories-from-azure-devops-to-github-enterprise-cloud.md +++ b/content/migrations/using-github-enterprise-importer/migrating-repositories-with-github-enterprise-importer/migrating-repositories-from-azure-devops-to-github-enterprise-cloud.md @@ -223,9 +223,11 @@ You can migrate multiple repositories with a migration script or a single reposi To migrate a single repository, use the `gh ado2gh migrate-repo` command. ```shell{:copy} -gh ado2gh migrate-repo --ado-org SOURCE --ado-team-project TEAM-PROJECT --ado-repo CURRENT-NAME --github-org DESTINATION --github-repo NEW-NAME +gh ado2gh migrate-repo --ado-org SOURCE --ado-team-project TEAM-PROJECT --ado-repo CURRENT-NAME --github-org DESTINATION --github-repo NEW-NAME --wait ``` +{% data reusables.enterprise-migration-tool.wait-flag %} + {% data reusables.enterprise-migration-tool.migrate-repo-table-ec %} ## Step 6: Validate your migration and check the error log diff --git a/content/migrations/using-github-enterprise-importer/migrating-repositories-with-github-enterprise-importer/migrating-repositories-from-bitbucket-server-to-github-enterprise-cloud.md b/content/migrations/using-github-enterprise-importer/migrating-repositories-with-github-enterprise-importer/migrating-repositories-from-bitbucket-server-to-github-enterprise-cloud.md index d2799f2e40..1d47b8eb54 100644 --- a/content/migrations/using-github-enterprise-importer/migrating-repositories-with-github-enterprise-importer/migrating-repositories-from-bitbucket-server-to-github-enterprise-cloud.md +++ b/content/migrations/using-github-enterprise-importer/migrating-repositories-with-github-enterprise-importer/migrating-repositories-from-bitbucket-server-to-github-enterprise-cloud.md @@ -176,6 +176,7 @@ To migrate a single repository, use the `gh bbs2gh migrate-repo` command. gh bbs2gh migrate-repo --bbs-server-url BBS-SERVER-URL \ --bbs-project PROJECT --bbs-repo CURRENT-NAME \ --github-org DESTINATION --github-repo NEW-NAME \ + --wait \ # Use the following options if your Bitbucket Server instance runs on Linux --ssh-user SSH-USER --ssh-private-key PATH-TO-KEY # Use the following options if your Bitbucket Server instance runs on Windows @@ -184,6 +185,8 @@ gh bbs2gh migrate-repo --bbs-server-url BBS-SERVER-URL \ --aws-bucket-name AWS-BUCKET-NAME ``` +{% data reusables.enterprise-migration-tool.wait-flag %} + {% data reusables.enterprise-migration-tool.placeholder-table %} {% data reusables.enterprise-migration-tool.bbs-server-url-placeholder %} {% data reusables.enterprise-migration-tool.project-placeholder %} diff --git a/content/migrations/using-github-enterprise-importer/migrating-repositories-with-github-enterprise-importer/migrating-repositories-from-github-enterprise-server-to-github-enterprise-cloud.md b/content/migrations/using-github-enterprise-importer/migrating-repositories-with-github-enterprise-importer/migrating-repositories-from-github-enterprise-server-to-github-enterprise-cloud.md index be5cf13b49..4fefe28c13 100644 --- a/content/migrations/using-github-enterprise-importer/migrating-repositories-with-github-enterprise-importer/migrating-repositories-from-github-enterprise-server-to-github-enterprise-cloud.md +++ b/content/migrations/using-github-enterprise-importer/migrating-repositories-with-github-enterprise-importer/migrating-repositories-from-github-enterprise-server-to-github-enterprise-cloud.md @@ -454,23 +454,25 @@ If you're migrating from {% data variables.product.prodname_ghe_server %} 3.7 or If you're using {% data variables.product.prodname_ghe_server %} 3.8 or later, use the following flags: ```shell{:copy} -gh gei migrate-repo --github-source-org SOURCE --source-repo CURRENT-NAME --github-target-org DESTINATION --target-repo NEW-NAME --ghes-api-url GHES-API-URL +gh gei migrate-repo --github-source-org SOURCE --source-repo CURRENT-NAME --github-target-org DESTINATION --target-repo NEW-NAME --ghes-api-url GHES-API-URL --wait ``` If you're migrating from {% data variables.product.prodname_ghe_server %} 3.7 or earlier and using Azure Blob Storage as your blob storage provider, use the following flags to authenticate: ```shell{:copy} gh gei migrate-repo --github-source-org SOURCE --source-repo CURRENT-NAME --github-target-org DESTINATION --target-repo NEW-NAME \ - --ghes-api-url GHES-API-URL --azure-storage-connection-string "AZURE_STORAGE_CONNECTION_STRING" + --ghes-api-url GHES-API-URL --azure-storage-connection-string "AZURE_STORAGE_CONNECTION_STRING" --wait ``` If you're migrating from {% data variables.product.prodname_ghe_server %} 3.7 or earlier and using Amazon S3 as your blob storage provider, use the following flags to authenticate: ```shell{:copy} gh gei migrate-repo --github-source-org SOURCE --source-repo CURRENT-NAME --github-target-org DESTINATION --target-repo NEW-NAME \ - --ghes-api-url GHES-API-URL --aws-bucket-name "AWS-BUCKET-NAME" + --ghes-api-url GHES-API-URL --aws-bucket-name "AWS-BUCKET-NAME" --wait ``` +{% data reusables.enterprise-migration-tool.wait-flag %} + {% data reusables.enterprise-migration-tool.ssl-flag %} {% data reusables.enterprise-migration-tool.skip-releases %} diff --git a/content/migrations/using-github-enterprise-importer/migrating-repositories-with-github-enterprise-importer/migrating-repositories-from-githubcom-to-github-enterprise-cloud.md b/content/migrations/using-github-enterprise-importer/migrating-repositories-with-github-enterprise-importer/migrating-repositories-from-githubcom-to-github-enterprise-cloud.md index d1d1fd4e5b..5a59395d59 100644 --- a/content/migrations/using-github-enterprise-importer/migrating-repositories-with-github-enterprise-importer/migrating-repositories-from-githubcom-to-github-enterprise-cloud.md +++ b/content/migrations/using-github-enterprise-importer/migrating-repositories-with-github-enterprise-importer/migrating-repositories-from-githubcom-to-github-enterprise-cloud.md @@ -196,8 +196,11 @@ gh gei generate-script --github-source-org SOURCE --github-target-org DESTINATIO {% data reusables.enterprise-migration-tool.gei-migrate-repo %} ```shell{:copy} -gh gei migrate-repo --github-source-org SOURCE --source-repo CURRENT-NAME --github-target-org DESTINATION --target-repo NEW-NAME +gh gei migrate-repo --github-source-org SOURCE --source-repo CURRENT-NAME --github-target-org DESTINATION --target-repo NEW-NAME --wait ``` + +{% data reusables.enterprise-migration-tool.wait-flag %} + {% data reusables.enterprise-migration-tool.skip-releases %} {% data reusables.enterprise-migration-tool.migrate-repo-table-ec %} diff --git a/content/organizations/managing-organization-settings/managing-the-commit-signoff-policy-for-your-organization.md b/content/organizations/managing-organization-settings/managing-the-commit-signoff-policy-for-your-organization.md index e4f8a67f97..de85aeb2f0 100644 --- a/content/organizations/managing-organization-settings/managing-the-commit-signoff-policy-for-your-organization.md +++ b/content/organizations/managing-organization-settings/managing-the-commit-signoff-policy-for-your-organization.md @@ -23,4 +23,3 @@ People with admin access to a repository can also enable compulsory commit signo {% data reusables.profile.org_settings %} {% data reusables.organizations.repository-defaults %} 1. Select or deselect **Require contributors to sign off on web-based commits**. - ![Screenshot of Require contributors to sign off on web-based commits](/assets/images/help/organizations/require-signoffs.png) diff --git a/content/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork.md b/content/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork.md index 1f15536574..8861efffad 100644 --- a/content/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork.md +++ b/content/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork.md @@ -26,7 +26,8 @@ You can set commit permissions when you first create a pull request from a fork. 1. On {% data variables.product.product_name %}, navigate to the main page of the upstream repository of your pull request. 1. Under the upstream repository name, click {% octicon "git-pull-request" aria-hidden="true" %} **Pull requests**. -![Issues and pull requests tab selection](/assets/images/help/repository/repo-tabs-pull-requests.png) + + ![Screenshot of the main page of a repository. In the horizontal navigation bar, a tab, labeled "Pull requests," is outlined in dark orange.](/assets/images/help/repository/repo-tabs-pull-requests.png) 1. In the list of pull requests, navigate to the pull request that you'd like to allow commits on. {% data reusables.repositories.allow-maintainers-user-forks %} diff --git a/content/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork.md b/content/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork.md index 585db79c9a..998ce55fb9 100644 --- a/content/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork.md +++ b/content/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork.md @@ -29,7 +29,6 @@ permissions: People with write access for a forked repository can sync the fork ![Screenshot of the main page of a fork. A dropdown menu, labeled with a sync icon and "Sync fork," is outlined in dark orange.](/assets/images/help/repository/sync-fork-dropdown.png) 1. Review the details about the commits from the upstream repository, then click **Update branch**. - ![Sync fork modal with "Update branch" button emphasized](/assets/images/help/repository/update-branch-button.png) {% else %} 1. On {% data variables.product.product_name %}, navigate to the main page of the forked repository that you want to sync with the upstream repository. 1. Above the list of files, select the **Fetch upstream** dropdown menu. diff --git a/content/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-on-behalf-of-an-organization.md b/content/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-on-behalf-of-an-organization.md index 060ac33c9c..8b77dcd95b 100644 --- a/content/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-on-behalf-of-an-organization.md +++ b/content/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-on-behalf-of-an-organization.md @@ -56,13 +56,10 @@ The new commit, message, and badge will appear on {% data variables.location.pro After you've made changes in a file using the web editor on {% data variables.product.product_name %}, you can create a commit on behalf of your organization by adding an `on-behalf-of:` trailer to the commit's message. -1. After making your changes, at the bottom of the page, type a short, meaningful commit message that describes the changes you made. - ![Commit message for your change](/assets/images/help/repository/write-commit-message-quick-pull.png) - -2. In the text box below your commit message, add `on-behalf-of: @org `. - - ![Commit message on-behalf-of trailer example in second commit message text box](/assets/images/help/repository/write-commit-message-on-behalf-of-trailer.png) -4. Click **Commit changes** or **Propose changes**. +1. Click **Commit changes...** +1. In the "Commit message" field, type a short, meaningful commit message that describes the changes you made. +1. In the text box below your commit message, add `on-behalf-of: @org `. +1. Click **Commit changes** or **Propose changes**. The new commit, message, and badge will appear on {% data variables.location.product_location %}. diff --git a/content/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-with-multiple-authors.md b/content/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-with-multiple-authors.md index cd3294dc00..e988805490 100644 --- a/content/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-with-multiple-authors.md +++ b/content/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-with-multiple-authors.md @@ -70,12 +70,10 @@ The new commit and message will appear on {% data variables.location.product_loc After you've made changes in a file using the web editor on {% data variables.product.product_name %}, you can create a co-authored commit by adding a `Co-authored-by:` trailer to the commit's message. {% data reusables.pull_requests.collect-co-author-commit-git-config-info %} -2. After making your changes together, at the bottom of the page, type a short, meaningful commit message that describes the changes you made. - ![Commit message for your change](/assets/images/help/repository/write-commit-message-quick-pull.png) -3. In the text box below your commit message, add `Co-authored-by: name ` with specific information for each co-author. If you're adding multiple co-authors, give each co-author their own line and `Co-authored-by:` commit trailer. - - ![Commit message co-author trailer example in second commit message text box](/assets/images/help/repository/write-commit-message-co-author-trailer.png) -4. Click **Commit changes** or **Propose changes**. +1. Click **Commit changes...** +1. In the "Commit message" field, type a short, meaningful commit message that describes the changes you made. +1. In the text box below your commit message, add `Co-authored-by: name ` with specific information for each co-author. If you're adding multiple co-authors, give each co-author their own line and `Co-authored-by:` commit trailer. +1. Click **Commit changes** or **Propose changes**. The new commit and message will appear on {% data variables.location.product_location %}. diff --git a/content/repositories/archiving-a-github-repository/archiving-repositories.md b/content/repositories/archiving-a-github-repository/archiving-repositories.md index d76e4573fb..0da54bc0ad 100644 --- a/content/repositories/archiving-a-github-repository/archiving-repositories.md +++ b/content/repositories/archiving-a-github-repository/archiving-repositories.md @@ -41,7 +41,7 @@ Once a repository is archived, you cannot add or remove collaborators or teams. When a repository is archived, its issues, pull requests, code, labels, milestones, projects, wiki, releases, commits, tags, branches, reactions, code scanning alerts, comments and permissions become read-only. To make changes in an archived repository, you must unarchive the repository first. -You can search for archived repositories. For more information, see "[AUTOTITLE](/search-github/searching-on-github/searching-for-repositories#search-based-on-whether-a-repository-is-archived)." You can also search for issues and pull requests within archived repositories. For more information, see "[AUTOTITLE](/search-github/searching-on-github/searching-issues-and-pull-requests#search-based-on-whether-a-repository-is-archived)." +You can search for archived repositories. For more information, see "[AUTOTITLE](/search-github/searching-on-github/searching-for-repositories#search-based-on-whether-a-repository-is-archived)." You can also search for issues and pull requests within archived repositories. For more information, see "[AUTOTITLE](/search-github/searching-on-github/searching-issues-and-pull-requests#search-based-on-whether-a-repository-is-archived)." ## Archiving a repository @@ -60,9 +60,7 @@ You can search for archived repositories. For more information, see "[AUTOTITLE] {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} -3. Under "Danger Zone", click **Unarchive this repository** - ![Unarchive this repository button](/assets/images/help/repository/unarchive-repository.png) -4. Read the warnings. -5. Type the name of the repository you want to unarchive. - ![Unarchive repository warnings](/assets/images/help/repository/unarchive-repository-warnings.png) -6. Click **I understand the consequences, unarchive this repository**. +1. In the "Danger Zone" section, click **Unarchive this repository** +1. Read the warnings. +1. In the text box, type the name of the repository you want to unarchive. +1. Click **I understand the consequences, unarchive this repository**. diff --git a/content/repositories/archiving-a-github-repository/referencing-and-citing-content.md b/content/repositories/archiving-a-github-repository/referencing-and-citing-content.md index 8d5005d697..c28460607c 100644 --- a/content/repositories/archiving-a-github-repository/referencing-and-citing-content.md +++ b/content/repositories/archiving-a-github-repository/referencing-and-citing-content.md @@ -25,12 +25,11 @@ To make your repositories easier to reference in academic literature, you can cr {% endtip %} -1. Navigate to [Zenodo](http://zenodo.org/). -2. In the upper-left corner of the screen, click **Log in**. ![Zenodo log in button](/assets/images/help/repository/zenodo_login.png) -3. Click **Log in with GitHub**. ![Log into Zenodo with GitHub](/assets/images/help/repository/zenodo_login_with_github.png) -4. Review the information about access permissions, then click **Authorize application**. ![Authorize Zenodo](/assets/images/help/repository/zenodo_authorize.png) -5. Navigate to the [Zenodo GitHub page](https://zenodo.org/account/settings/github/). ![Zenodo GitHub page](/assets/images/help/repository/zenodo_github_page.png) -6. To the right of the name of the repository you want to archive, toggle the button from **Off** to **On** to enable it for archiving. ![Enable Zenodo archiving on repository](/assets/images/help/repository/zenodo_toggle_on.png) +1. Navigate to the [login page](https://zenodo.org/login) for Zenodo. +1. Click **Log in with {% data variables.product.prodname_dotcom %}**. +1. Review the information about access permissions, then click **Authorize zenodo**. +1. Navigate to the [Zenodo {% data variables.product.prodname_dotcom %} page](https://zenodo.org/account/settings/github/). +1. To the right of the name of the repository you want to archive, toggle the button to **On**. Zenodo archives your repository and issues a new DOI each time you create a new {% data variables.product.product_name %} [release](/repositories/releasing-projects-on-github/about-releases). Follow the steps at "[AUTOTITLE](/repositories/releasing-projects-on-github/managing-releases-in-a-repository)" to create a new one. diff --git a/content/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/configuring-commit-merging-for-pull-requests.md b/content/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/configuring-commit-merging-for-pull-requests.md index 39d97e9729..48240e7b4c 100644 --- a/content/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/configuring-commit-merging-for-pull-requests.md +++ b/content/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/configuring-commit-merging-for-pull-requests.md @@ -14,11 +14,7 @@ shortTitle: Configure commit merging {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} -1. Under {% ifversion fpt or ghec or ghes > 3.5 or ghae > 3.4 %}"Pull Requests"{% else %}"Merge button"{% endif %}, select **Allow merge commits**. This allows contributors to merge a pull request with a full history of commits.{% ifversion default-merge-squash-commit-message %} - ![Screenshot of Pull Request settings with allow merge commits checkbox emphasized](/assets/images/help/repository/allow-merge-commits.png){% endif %}{% ifversion ghes = 3.6 %} - ![Screenshot of Pull Request settings with allow merge commits checkbox emphasized](/assets/images/help/repository/allow-merge-commits-no-dropdown.png){% endif %} -{% ifversion ghes < 3.6 %} - ![allow_standard_merge_commits](/assets/images/help/repository/pr-merge-full-commits.png){% endif %} +1. Under {% ifversion fpt or ghec or ghes > 3.5 or ghae > 3.4 %}"Pull Requests"{% else %}"Merge button"{% endif %}, select **Allow merge commits**. This allows contributors to merge a pull request with a full history of commits. {% ifversion default-merge-squash-commit-message %} 1. Optionally, under **Allow merge commits**, select the dropdown menu, then click the format of the commit message presented to contributors when merging. diff --git a/content/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/configuring-commit-rebasing-for-pull-requests.md b/content/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/configuring-commit-rebasing-for-pull-requests.md index c4652106f1..9aeb3ebd9b 100644 --- a/content/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/configuring-commit-rebasing-for-pull-requests.md +++ b/content/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/configuring-commit-rebasing-for-pull-requests.md @@ -18,11 +18,6 @@ shortTitle: Configure commit rebasing {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} -3. Under {% ifversion fpt or ghec or ghes > 3.5 or ghae > 3.4 %}"Pull Requests"{% else %}"Merge button"{% endif %}, select **Allow rebase merging**. This allows contributors to merge a pull request by rebasing their individual commits onto the base branch. -{% ifversion default-merge-squash-commit-message %} - ![Screenshot of Pull Request settings with allow rebase merging checkbox emphasized](/assets/images/help/repository/allow-rebase-merging.png){% endif %}{% ifversion ghes = 3.6 %} - ![Screenshot of Pull Request settings with allow rebase merging checkbox emphasized](/assets/images/help/repository/allow-rebase-merging-no-dropdown.png){% endif %} - {% ifversion ghes < 3.6 %} - ![Pull request rebased commits](/assets/images/help/repository/pr-merge-rebase.png){% endif %} +1. Under {% ifversion fpt or ghec or ghes > 3.5 or ghae > 3.4 %}"Pull Requests"{% else %}"Merge button"{% endif %}, select **Allow rebase merging**. This allows contributors to merge a pull request by rebasing their individual commits onto the base branch. If you also select another merge method, collaborators will be able to choose the type of merge commit when merging a pull request. {% data reusables.repositories.squash-and-rebase-linear-commit-history %} diff --git a/content/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/configuring-commit-squashing-for-pull-requests.md b/content/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/configuring-commit-squashing-for-pull-requests.md index 76048e0ca0..c1de7ce1c5 100644 --- a/content/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/configuring-commit-squashing-for-pull-requests.md +++ b/content/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/configuring-commit-squashing-for-pull-requests.md @@ -20,11 +20,7 @@ shortTitle: Configure commit squashing {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} -1. Under {% ifversion fpt or ghec or ghes > 3.5 or ghae > 3.4 %}"Pull Requests"{% else %}"Merge button"{% endif %}, select **Allow squash merging**. This allows contributors to merge a pull request by squashing all commits into a single commit. The default commit message presented to contributors when merging is the commit title and message if the pull request contains only 1 commit, or the pull request title and list of commits if the pull request contains 2 or more commits. {% ifversion ghes = 3.6 %} To always use the title of the pull request regardless of the number of commits in the pull request select **Default to PR title for squash merge commits**.{% endif %}{% ifversion default-merge-squash-commit-message %} - ![Pull request squashed commits](/assets/images/help/repository/allow-squash-merging.png){% endif %}{% ifversion ghes = 3.6 %} - ![Screenshot of Pull Request settings with allow merge commits checkbox emphasized](/assets/images/help/repository/allow-squash-merging-no-dropdown.png){% endif %} -{% ifversion ghes < 3.6 %} - ![Pull request squashed commits](/assets/images/enterprise/3.5/repository/pr-merge-squash.png){% endif %} +1. Under {% ifversion fpt or ghec or ghes > 3.5 or ghae > 3.4 %}"Pull Requests"{% else %}"Merge button"{% endif %}, select **Allow squash merging**. This allows contributors to merge a pull request by squashing all commits into a single commit. The default commit message presented to contributors when merging is the commit title and message if the pull request contains only 1 commit, or the pull request title and list of commits if the pull request contains 2 or more commits. {% ifversion ghes = 3.6 %} To always use the title of the pull request regardless of the number of commits in the pull request select **Default to PR title for squash merge commits**.{% endif %} {% ifversion default-merge-squash-commit-message %} 1. Optionally, under **Allow squash merging**, select the dropdown menu, then click the format of the default squash commit message presented to contributors when merging. diff --git a/content/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/managing-a-branch-protection-rule.md b/content/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/managing-a-branch-protection-rule.md index da204ddd55..7975fce6ac 100644 --- a/content/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/managing-a-branch-protection-rule.md +++ b/content/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/managing-a-branch-protection-rule.md @@ -52,37 +52,26 @@ When you create a branch rule, the branch you specify doesn't have to exist yet {% data reusables.repositories.add-branch-protection-rules %} 1. Optionally, enable required pull requests. - Under "Protect matching branches", select **Require a pull request before merging**. - ![Pull request review restriction checkbox](/assets/images/help/repository/PR-reviews-required-updated.png) - Optionally, to require approvals before a pull request can be merged, select **Require approvals**. Select the **Required number of approvals before merging** dropdown menu, then click the number of approving reviews you would like to require on the branch. - Optionally, to dismiss a pull request approval review when a code-modifying commit is pushed to the branch, select **Dismiss stale pull request approvals when new commits are pushed**. - ![Dismiss stale pull request approvals when new commits are pushed checkbox](/assets/images/help/repository/PR-reviews-required-dismiss-stale.png) - Optionally, to require review from a code owner when the pull request affects code that has a designated owner, select **Require review from Code Owners**. For more information, see "[AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners)." - ![Require review from code owners](/assets/images/help/repository/PR-review-required-code-owner.png) - Optionally, to allow specific actors to push code to the branch without creating pull requests when they're required, select **Allow specified actors to bypass required pull requests**. Then, search for and select the actors who should be allowed to skip creating a pull request. - ![Allow specific actors to bypass pull request requirements checkbox]{% ifversion integration-branch-protection-exceptions %}(/assets/images/help/repository/PR-bypass-requirements-with-apps.png){% else %}(/assets/images/help/repository/PR-bypass-requirements.png){% endif %} - - Optionally, if the repository is part of an organization, select **Restrict who can dismiss pull request reviews**. Then, search for and select the actors who are allowed to dismiss pull request reviews. For more information, see "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/dismissing-a-pull-request-review)." - ![Restrict who can dismiss pull request reviews checkbox]{% ifversion integration-branch-protection-exceptions %}(/assets/images/help/repository/PR-review-required-dismissals-with-apps.png){% else %}(/assets/images/help/repository/PR-review-required-dismissals.png){% endif %} + - Optionally, if the repository is part of an organization, select **Restrict who can dismiss pull request reviews**. Then, in the search field, search for and select the actors who are allowed to dismiss pull request reviews. For more information, see "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/dismissing-a-pull-request-review)." {% ifversion last-pusher-require-approval %} - Optionally, to require someone other than the last person to push to a branch to approve a pull request prior to merging, select **Require approval from someone other than the last pusher**. For more information, see "[AUTOTITLE](/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#require-pull-request-reviews-before-merging)." {% endif %} 1. Optionally, enable required status checks. For more information, see "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." - Select **Require status checks to pass before merging**. - ![Required status checks option](/assets/images/help/repository/required-status-checks.png) - Optionally, to ensure that pull requests are tested with the latest code on the protected branch, select **Require branches to be up to date before merging**. - ![Loose or strict required status checkbox](/assets/images/help/repository/protecting-branch-loose-status.png) - - Search for status checks, selecting the checks you want to require. - ![Search interface for available status checks, with list of required checks](/assets/images/help/repository/required-statuses-list.png) + - In the search field, search for status checks, selecting the checks you want to require. 1. Optionally, select **Require conversation resolution before merging**. - ![Require conversation resolution before merging option](/assets/images/help/repository/require-conversation-resolution.png) 1. Optionally, select **Require signed commits**. - ![Require signed commits option](/assets/images/help/repository/require-signed-commits.png) 1. Optionally, select **Require linear history**. - ![Required linear history option](/assets/images/help/repository/required-linear-history.png) {%- ifversion fpt or ghec %} 1. Optionally, to merge pull requests using a merge queue, select **Require merge queue**. {% data reusables.pull_requests.merge-queue-references %} - ![Require merge queue option](/assets/images/help/repository/require-merge-queue.png) + {% tip %} **Tip:** The pull request merge queue feature is currently in public beta and subject to change. @@ -91,7 +80,6 @@ When you create a branch rule, the branch you specify doesn't have to exist yet {%- endif %} {%- ifversion required-deployments %} 1. Optionally, to choose which environments the changes must be successfully deployed to before merging, select **Require deployments to succeed before merging**, then select the environments. - ![Require successful deployment option](/assets/images/help/repository/require-successful-deployment.png) {%- endif %} {% ifversion lock-branch %} 1. Optionally, make the branch read-only. @@ -101,21 +89,18 @@ When you create a branch rule, the branch you specify doesn't have to exist yet 1. Optionally, select {% ifversion bypass-branch-protections %}**Do not allow bypassing the above settings**{% else %}**Apply the rules above to administrators**{% endif %}. 1. Optionally,{% ifversion fpt or ghec %} in public repositories owned by a {% data variables.product.prodname_free_user %} organization and in all repositories owned by an organization using {% data variables.product.prodname_team %} or {% data variables.product.prodname_ghe_cloud %},{% endif %} enable branch restrictions. - Select **Restrict who can push to matching branches**. - ![Branch restriction checkbox](/assets/images/help/repository/restrict-branch.png){% ifversion restrict-pushes-create-branch %} +{%- ifversion restrict-pushes-create-branch %} - Optionally, to also restrict the creation of matching branches, select **Restrict pushes that create matching branches**. - ![Branch creation restriction checkbox](/assets/images/help/repository/restrict-branch-create.png){% endif %} - - Search for and select the people, teams, or apps who will have permission to push to the protected branch or create a matching branch. - ![Branch restriction search]{% ifversion restrict-pushes-create-branch %}(/assets/images/help/repository/restrict-branch-search-with-create.png){% else %}(/assets/images/help/repository/restrict-branch-search.png){% endif %} +{%- endif %} + - In the search field, search for and select the people, teams, or apps who will have permission to push to the protected branch or create a matching branch. 1. Optionally, under "Rules applied to everyone including administrators", select **Allow force pushes**. - ![Allow force pushes option](/assets/images/help/repository/allow-force-pushes.png) - Then, choose who can force push to the branch. - - Select **Everyone** to allow everyone with at least write permissions to the repository to force push to the branch, including those with admin permissions. - - Select **Specify who can force push** to allow only specific actors to force push to the branch. Then, search for and select those actors. - ![Screenshot of the options to specify who can force push]{% ifversion integration-branch-protection-exceptions %}(/assets/images/help/repository/allow-force-pushes-specify-who-with-apps.png){% else %}(/assets/images/help/repository/allow-force-pushes-specify-who.png){% endif %} + + Then, choose who can force push to the branch. + - Select **Everyone** to allow everyone with at least write permissions to the repository to force push to the branch, including those with admin permissions. + - Select **Specify who can force push** to allow only specific actors to force push to the branch. Then, search for and select those actors. For more information about force pushes, see "[AUTOTITLE](/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#allow-force-pushes)." 1. Optionally, select **Allow deletions**. - ![Allow branch deletions option](/assets/images/help/repository/allow-branch-deletions.png) 1. Click **Create**. ## Editing a branch protection rule diff --git a/content/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks.md b/content/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks.md index 3ea205a450..a25e9472c6 100644 --- a/content/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks.md +++ b/content/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks.md @@ -40,8 +40,6 @@ remote: error: Required status check "ci-build" is failing Sometimes, the results of the status checks for the test merge commit and head commit will conflict. If the test merge commit has a status, the test merge commit must pass. Otherwise, the status of the head commit must pass before you can merge the branch. For more information about test merge commits, see "[AUTOTITLE](/rest/pulls#get-a-pull-request)." -![Branch with conflicting merge commits](/assets/images/help/repository/req-status-check-conflicting-merge-commits.png) - ## Handling skipped but required checks {% note %} @@ -80,9 +78,7 @@ jobs: - run: npm test ``` -Due to [path filtering](/actions/using-workflows/workflow-syntax-for-github-actions#onpushpull_requestpull_request_targetpathspaths-ignore), a pull request that only changes a file in the root of the repository will not trigger this workflow and is blocked from merging. You would see the following status on the pull request: - -![Required check skipped but shown as pending](/assets/images/help/repository/PR-required-check-skipped.png) +Due to [path filtering](/actions/using-workflows/workflow-syntax-for-github-actions#onpushpull_requestpull_request_targetpathspaths-ignore), a pull request that only changes a file in the root of the repository will not trigger this workflow and is blocked from merging. On the pull request, you would see "Waiting for status to be reported." You can fix this by creating a generic workflow, with the same name, that will return true in any case similar to the workflow below : @@ -101,8 +97,6 @@ jobs: ``` Now the checks will always pass whenever someone sends a pull request that doesn't change the files listed under `paths` in the first workflow. -![Check skipped but passes due to generic workflow](/assets/images/help/repository/PR-required-check-passed-using-generic.png) - {% note %} **Notes:** diff --git a/content/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/changing-the-default-branch.md b/content/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/changing-the-default-branch.md index f35a9e5d03..f0cc3d0cd2 100644 --- a/content/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/changing-the-default-branch.md +++ b/content/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/changing-the-default-branch.md @@ -40,13 +40,7 @@ To change the default branch, your repository must have more than one branch. Fo {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} -{% data reusables.repositories.repository-branches %} -1. Under "Default branch", to the right of the default branch name, click {% octicon "arrow-switch" aria-label="The switch icon with two arrows" %}. - ![Switch icon with two arrows to the right of current default branch name](/assets/images/help/repository/repository-options-defaultbranch-change.png) -1. Use the drop-down, then click a branch name. - ![Drop-down to choose new default branch](/assets/images/help/repository/repository-options-defaultbranch-drop-down.png) +1. Under "Default branch", to the right of the default branch name, click {% octicon "arrow-switch" aria-label="Switch to another branch" %}. +1. Select the branch dropdown menu and click a branch name. 1. Click **Update**. - !["Update" button after choosing a new default branch](/assets/images/help/repository/repository-options-defaultbranch-update.png) 1. Read the warning, then click **I understand, update the default branch.** - !["I understand, update the default branch." button to perform the update](/assets/images/help/repository/repository-options-defaultbranch-i-understand.png) - diff --git a/content/repositories/creating-and-managing-repositories/creating-a-new-repository.md b/content/repositories/creating-and-managing-repositories/creating-a-new-repository.md index b3dd93e797..4179e5278b 100644 --- a/content/repositories/creating-and-managing-repositories/creating-a-new-repository.md +++ b/content/repositories/creating-and-managing-repositories/creating-a-new-repository.md @@ -32,21 +32,20 @@ topics: {% endtip %} {% data reusables.repositories.create_new %} -2. Optionally, to create a repository with the directory structure and files of an existing repository, use the **Choose a template** drop-down and select a template repository. You'll see template repositories that are owned by you and organizations you're a member of or that you've used before. For more information, see "[AUTOTITLE](/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template)." - ![Template drop-down menu](/assets/images/help/repository/template-drop-down.png) -3. Optionally, if you chose to use a template, to include the directory structure and files from all branches in the template, and not just the default branch, select **Include all branches**. -3. In the Owner drop-down, select the account you wish to create the repository on. - ![Owner drop-down menu](/assets/images/help/repository/create-repository-owner.png) +1. Optionally, to create a repository with the directory structure and files of an existing repository, select the **Choose a template** dropdown menu and click a template repository. You'll see template repositories that are owned by you and organizations you're a member of or that you've used before. For more information, see "[AUTOTITLE](/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template)." +1. Optionally, if you chose to use a template, to include the directory structure and files from all branches in the template, and not just the default branch, select **Include all branches**. +1. In the Owner dropdown, select the account you wish to create the repository on. + ![Owner dropdown menu](/assets/images/help/repository/create-repository-owner.png) {% data reusables.repositories.repo-name %} {% data reusables.repositories.choose-repo-visibility %} -6. If you're not using a template, there are a number of optional items you can pre-populate your repository with. If you're importing an existing repository to {% data variables.product.product_name %}, don't choose any of these options, as you may introduce a merge conflict. You can add or create new files using the user interface or choose to add new files using the command line later. For more information, see "[AUTOTITLE](/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-an-external-git-repository-using-the-command-line)," "[AUTOTITLE](/repositories/working-with-files/managing-files/adding-a-file-to-a-repository#adding-a-file-to-a-repository-using-the-command-line)," and "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/addressing-merge-conflicts)." +1. If you're not using a template, there are a number of optional items you can pre-populate your repository with. If you're importing an existing repository to {% data variables.product.product_name %}, don't choose any of these options, as you may introduce a merge conflict. You can add or create new files using the user interface or choose to add new files using the command line later. For more information, see "[AUTOTITLE](/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-an-external-git-repository-using-the-command-line)," "[AUTOTITLE](/repositories/working-with-files/managing-files/adding-a-file-to-a-repository#adding-a-file-to-a-repository-using-the-command-line)," and "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/addressing-merge-conflicts)." - You can create a README, which is a document describing your project. For more information, see "[AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-readmes)." - You can create a *.gitignore* file, which is a set of ignore rules. For more information, see "[AUTOTITLE](/get-started/getting-started-with-git/ignoring-files)."{% ifversion fpt or ghec %} - You can choose to add a software license for your project. For more information, see "[AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository)."{% endif %} {% data reusables.repositories.select-marketplace-apps %} {% data reusables.repositories.create-repo %} {% ifversion fpt or ghec %} -9. At the bottom of the resulting Quick Setup page, under "Import code from an old repository", you can choose to import a project to your new repository. To do so, click **Import code**. +1. At the bottom of the resulting Quick Setup page, under "Import code from an old repository", you can choose to import a project to your new repository. To do so, click **Import code**. {% endif %} ## Further reading diff --git a/content/repositories/creating-and-managing-repositories/creating-a-template-repository.md b/content/repositories/creating-and-managing-repositories/creating-a-template-repository.md index 8846b9a951..69d1dbe24b 100644 --- a/content/repositories/creating-and-managing-repositories/creating-a-template-repository.md +++ b/content/repositories/creating-and-managing-repositories/creating-a-template-repository.md @@ -36,5 +36,3 @@ After you make your repository a template, anyone with access to the repository {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} 1. Select **Template repository**. - ![Checkbox to make a repository a template](/assets/images/help/repository/template-repository-checkbox.png) - diff --git a/content/repositories/creating-and-managing-repositories/deleting-a-repository.md b/content/repositories/creating-and-managing-repositories/deleting-a-repository.md index cf9fb57414..55735a6d28 100644 --- a/content/repositories/creating-and-managing-repositories/deleting-a-repository.md +++ b/content/repositories/creating-and-managing-repositories/deleting-a-repository.md @@ -32,9 +32,7 @@ Some deleted repositories can be restored within 90 days of deletion. {% ifversi {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} -2. Under Danger Zone, click **Delete this repository**. - ![Repository deletion button](/assets/images/help/repository/repo-delete.png) -3. **Read the warnings**. -4. To verify that you're deleting the correct repository, type the name of the repository you want to delete. - ![Deletion labeling](/assets/images/help/repository/repo-delete-confirmation.png) -5. Click **I understand the consequences, delete this repository**. +1. In the "Danger Zone" section, click **Delete this repository**. +1. **Read the warnings**. +1. To verify that you're deleting the correct repository, in the text box, type the name of the repository you want to delete. +1. Click **I understand the consequences, delete this repository**. diff --git a/content/repositories/creating-and-managing-repositories/renaming-a-repository.md b/content/repositories/creating-and-managing-repositories/renaming-a-repository.md index 08d9160b78..bc8cdde4ad 100644 --- a/content/repositories/creating-and-managing-repositories/renaming-a-repository.md +++ b/content/repositories/creating-and-managing-repositories/renaming-a-repository.md @@ -32,7 +32,7 @@ For more information, see "[AUTOTITLE](/get-started/getting-started-with-git/man {% ifversion fpt or ghec %} -If you plan to rename a repository that has a {% data variables.product.prodname_pages %} site, we recommend using a custom domain for your site. This ensures that the site's URL isn't impacted by renaming the repository. For more information, see "[AUTOTITLE](/pages/configuring-a-custom-domain-for-your-github-pages-site/about-custom-domains-and-github-pages)." +If you plan to rename a repository that has a {% data variables.product.prodname_pages %} site, we recommend using a custom domain for your site. This ensures that the site's URL isn't impacted by renaming the repository. For more information, see "[AUTOTITLE](/pages/configuring-a-custom-domain-for-your-github-pages-site/about-custom-domains-and-github-pages)." {% endif %} @@ -50,6 +50,5 @@ If you plan to rename a repository that has a {% data variables.product.prodname {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} -3. Under the **Repository Name** heading, type the new name of your repository. - ![Repository rename](/assets/images/help/repository/repository-name-change.png) -4. Click **Rename**. You're done! +1. In the **Repository Name** field, type the new name of your repository. +1. Click **Rename**. diff --git a/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-readmes.md b/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-readmes.md index 21a3505af4..1242aadcda 100644 --- a/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-readmes.md +++ b/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-readmes.md @@ -32,21 +32,17 @@ If you put your README file in your repository's hidden `.github`, root, or `doc If a repository contains more than one README file, then the file shown is chosen from locations in the following order: the `.github` directory, then the repository's root directory, and finally the `docs` directory. -![Main page of the github/scientist repository and its README file](/assets/images/help/repository/repo-with-readme.png) - {% ifversion fpt or ghes or ghec %} {% data reusables.profile.profile-readme %} {% endif %} -![README file on your username/username repository](/assets/images/help/repository/username-repo-with-readme.png) - ## Auto-generated table of contents for README files -For the rendered view of any Markdown file in a repository, including README files, {% data variables.product.product_name %} will automatically generate a table of contents based on section headings. You can view the table of contents for a README file by clicking the {% octicon "list-unordered" aria-label="The unordered list icon" %} menu icon at the top left of the rendered page. +For the rendered view of any Markdown file in a repository, including README files, {% data variables.product.product_name %} will automatically generate a table of contents based on section headings. You can view the table of contents for a README file by clicking the {% octicon "list-unordered" aria-label="Table of Contents" %} menu icon at the top left of the rendered page. -![README with automatically generated TOC](/assets/images/help/repository/readme-automatic-toc.png) +![Screenshot of the README for a repository. In the upper-left corner, a dropdown menu, labeled with a list icon, is expanded to show a table of contents.](/assets/images/help/repository/readme-automatic-toc.png) ## Section links in README files and blob pages diff --git a/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/customizing-your-repositorys-social-media-preview.md b/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/customizing-your-repositorys-social-media-preview.md index 4fd5e06a41..ed46eb3e1d 100644 --- a/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/customizing-your-repositorys-social-media-preview.md +++ b/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/customizing-your-repositorys-social-media-preview.md @@ -36,13 +36,11 @@ Until you add an image, repository links expand to show basic information about ## About transparency -We support PNG images with transparency. Many communication platforms support a dark mode, so using a transparent social preview may be beneficial. The transparent image below is acceptable on a dark background; however, this may not always be the case. +We support PNG images with transparency. Many communication platforms support a dark mode, so using a transparent social preview may be beneficial. When using an image with transparency, keep in mind how it may look on different color backgrounds or platforms that don't support transparency. {% tip %} **Tip:** If you aren't sure, we recommend using an image with a solid background. -{% endtip %} - -![Social preview transparency](/assets/images/help/repository/social-preview-transparency.png) +{% endtip %} \ No newline at end of file diff --git a/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/displaying-a-sponsor-button-in-your-repository.md b/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/displaying-a-sponsor-button-in-your-repository.md index 675b1e0799..cc48b828d0 100644 --- a/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/displaying-a-sponsor-button-in-your-repository.md +++ b/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/displaying-a-sponsor-button-in-your-repository.md @@ -71,14 +71,8 @@ Anyone with admin permissions can enable a sponsor button in a repository. {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} -1. Under Features, select **Sponsorships**. - - ![Checkbox to enable Sponsorships](/assets/images/help/sponsors/sponsorships-checkbox.png) - -1. Under "Sponsorships", click **Set up sponsor button** or **Override funding links**. - - ![Button to set up sponsor button](/assets/images/help/sponsors/sponsor-set-up-button.png) - +1. On the "General" settings page, in the "Features" section, select **Sponsorships**. +1. In the "Sponsorships" box, click **Set up sponsor button** or **Override funding links**. 1. In the file editor, follow the instructions in the `FUNDING.yml` file to add links to your funding locations. {% data reusables.files.write_commit_message %} {% data reusables.files.choose_commit_branch %} diff --git a/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository.md b/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository.md index de33d1fbdd..5f5447dc46 100644 --- a/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository.md +++ b/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository.md @@ -87,7 +87,7 @@ If your repository is using a license that is listed on the Choose a License web {% ifversion fpt or ghec %} The license picker is only available when you create a new project on GitHub. -![Screenshot of license picker on GitHub.com](/assets/images/help/repository/repository-license-picker.png) +![Screenshot the "Choose a license" section of the new repository page, including a dropdown menu labeled "License."](/assets/images/help/repository/repository-license-picker.png) {% endif %} You can manually add a license using the browser. For more information on adding a license to a repository, see "[AUTOTITLE](/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository)." diff --git a/content/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository.md b/content/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository.md index 32348d6c82..c9e70bbf56 100644 --- a/content/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository.md +++ b/content/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository.md @@ -58,10 +58,7 @@ You can manage the security and analysis features for your {% ifversion fpt or g {% data reusables.repositories.sidebar-settings %} {% data reusables.repositories.navigate-to-code-security-and-analysis %} {% ifversion fpt or ghes or ghec %} -4. Under "Code security and analysis", to the right of the feature, click **Disable** or **Enable**. {% ifversion not fpt %}The control for "{% data variables.product.prodname_GH_advanced_security %}" is disabled if your enterprise has no available licenses for {% data variables.product.prodname_advanced_security %}.{% endif %}{% ifversion fpt %} - ![Screenshot of "Enable" or "Disable" button for "Configure security and analysis" features](/assets/images/help/repository/security-and-analysis-disable-or-enable-fpt-private.png){% elsif ghec %} - ![Screenshot of "Enable" or "Disable" button for "Configure security and analysis" features](/assets/images/help/repository/security-and-analysis-disable-or-enable-ghec-private.png){% elsif ghes > 3.6 or ghae > 3.6 %} - ![Screenshot of "Enable" or "Disable" button for "Configure security and analysis" features](/assets/images/enterprise/3.3/repository/security-and-analysis-disable-or-enable-ghes.png){% endif %} +1. Under "Code security and analysis", to the right of the feature, click **Disable** or **Enable**. {% ifversion not fpt %}The control for "{% data variables.product.prodname_GH_advanced_security %}" is disabled if your enterprise has no available licenses for {% data variables.product.prodname_advanced_security %}.{% endif %} {% ifversion not fpt %} {% note %} @@ -84,36 +81,17 @@ Organization owners and repository administrators can only grant access to view {% data reusables.repositories.sidebar-settings %} {% data reusables.repositories.navigate-to-code-security-and-analysis %} 1. Under "Access to alerts", in the search field, start typing the name of the person or team you'd like to find, then click a name in the list of matches. - {% ifversion fpt or ghec or ghes %} - ![Search field for granting people or teams access to security alerts](/assets/images/help/repository/security-and-analysis-security-alerts-person-or-team-search.png) - {% endif %} - - {% ifversion ghae %} - ![Search field for granting people or teams access to security alerts](/assets/images/enterprise/github-ae/repository/security-and-analysis-security-alerts-person-or-team-search-ghae.png) - {% endif %} - -2. Click **Save changes**. - {% ifversion fpt or ghes or ghec %} - !["Save changes" button for changes to security alert settings](/assets/images/help/repository/security-and-analysis-security-alerts-save-changes.png) - {% endif %} - - {% ifversion ghae %} - !["Save changes" button for changes to security alert settings](/assets/images/enterprise/github-ae/repository/security-and-analysis-security-alerts-save-changes-ghae.png) - {% endif %} +1. Click **Save changes**. ## Removing access to security alerts {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} {% data reusables.repositories.navigate-to-code-security-and-analysis %} -4. Under "Access to alerts", to the right of the person or team whose access you'd like to remove, click {% octicon "x" aria-label="X symbol" %}.{% ifversion fpt or ghec or ghes %} +1. Under "Access to alerts", to the right of the person or team whose access you'd like to remove, click {% octicon "x" aria-label="Revoke USER's vulnerability access " %}. - !["x" button to remove someone's access to security alerts for your repository](/assets/images/help/repository/security-and-analysis-security-alerts-username-x.png) - {% endif %}{% ifversion ghae %} - - !["x" button to remove someone's access to security alerts for your repository](/assets/images/enterprise/github-ae/repository/security-and-analysis-security-alerts-username-x-ghae.png) - {% endif %} - 5. Click **Save changes**. + ![Screenshot of the list of users with access to alerts. To the right of @octocat, an x icon is outlined in dark orange.](/assets/images/help/repository/security-and-analysis-security-alerts-username-x.png) +1. Click **Save changes**. ## Further reading diff --git a/content/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-the-commit-signoff-policy-for-your-repository.md b/content/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-the-commit-signoff-policy-for-your-repository.md index da7d934f4b..76a826ff70 100644 --- a/content/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-the-commit-signoff-policy-for-your-repository.md +++ b/content/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-the-commit-signoff-policy-for-your-repository.md @@ -22,4 +22,3 @@ Organization owners can also enable compulsory commit signoffs at the organizati {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} 1. Select **Require contributors to sign off on web-based commits**. - ![Screenshot of Require contributors to sign off on web-based commits](/assets/images/help/repository/require-signoffs.png) diff --git a/content/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility.md b/content/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility.md index 2b44b3bdc8..86fc3ffe0e 100644 --- a/content/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility.md +++ b/content/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility.md @@ -87,17 +87,10 @@ For information about improving repository security, see "[AUTOTITLE](/code-secu {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} -3. Under "Danger Zone", to the right of to "Change repository visibility", click **Change visibility**. - ![Change visibility button](/assets/images/help/repository/repo-change-vis.png) -4. Select a visibility. -{% ifversion fpt or ghec %} - ![Dialog of options for repository visibility](/assets/images/help/repository/repo-change-select.png){% else %} - ![Dialog of options for repository visibility](/assets/images/enterprise/repos/repo-change-select.png){% endif %} -5. To verify that you're changing the correct repository's visibility, type the name of the repository you want to change the visibility of. -6. Click **I understand, change repository visibility**. -{% ifversion fpt or ghec %} - ![Confirm change of repository visibility button](/assets/images/help/repository/repo-change-confirm.png){% else %} - ![Confirm change of repository visibility button](/assets/images/enterprise/repos/repo-change-confirm.png){% endif %} +1. In the "Danger Zone" section, to the right of to "Change repository visibility", click **Change visibility**. +1. Select a visibility. +1. To verify that you're changing the correct repository's visibility, type the name of the repository you want to change the visibility of. +1. Click **I understand, change repository visibility**. ## Further reading diff --git a/content/repositories/working-with-files/managing-files/adding-a-file-to-a-repository.md b/content/repositories/working-with-files/managing-files/adding-a-file-to-a-repository.md index 46fff05422..175e1cfe1b 100644 --- a/content/repositories/working-with-files/managing-files/adding-a-file-to-a-repository.md +++ b/content/repositories/working-with-files/managing-files/adding-a-file-to-a-repository.md @@ -33,13 +33,13 @@ Files that you add to a repository via a browser are limited to {% data variable {% endtip %} {% data reusables.repositories.navigate-to-repo %} -2. Above the list of files, using the **Add file** drop-down, click **Upload files**. - !["Upload files" in the "Add file" dropdown](/assets/images/help/repository/upload-files-button.png) -3. Drag and drop the file or folder you'd like to upload to your repository onto the file tree. -![Drag and drop area](/assets/images/help/repository/upload-files-drag-and-drop.png) +1. Above the list of files, select the **Add file** dropdown menu and click **Upload files**. + + ![Screenshot of the main page of the repository. Above the list of a files, a button, labeled "Add file," is outlined in dark orange.](/assets/images/help/repository/upload-files-button.png) +1. To select the files you want to upload, drag and drop the file or folder, or click **choose your files**. {% data reusables.files.write_commit_message %} {% data reusables.files.choose_commit_branch %} -6. Click **Commit changes**. +1. Click **Commit changes**. ![Commit changes button](/assets/images/help/repository/commit-changes-button.png) ## Adding a file to a repository using the command line diff --git a/content/repositories/working-with-files/managing-files/editing-files.md b/content/repositories/working-with-files/managing-files/editing-files.md index e45efc3377..7e04b20499 100644 --- a/content/repositories/working-with-files/managing-files/editing-files.md +++ b/content/repositories/working-with-files/managing-files/editing-files.md @@ -47,14 +47,11 @@ shortTitle: Edit files When you edit a file in another user's repository, we'll automatically [fork the repository](/get-started/quickstart/fork-a-repo) and [open a pull request](/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request) for you. 1. In another user's repository, browse to the folder that contains the file you want to edit. Click the name of the file you want to edit. -2. Above the file content, click {% octicon "pencil" aria-label="Edit file" %}. At this point, GitHub forks the repository for you. -3. In the text box, make any changes you need to the file. +1. Above the file content, click {% octicon "pencil" aria-label="Edit file" %}. At this point, {% data variables.product.prodname_dotcom %} forks the repository for you. +1. In the text box, make any changes you need to the file. {% data reusables.files.preview_change %} {% data reusables.files.write_commit_message %} {% data reusables.files.choose-commit-email %} 1. Click **Propose file change**. - - ![Commit Changes button](/assets/images/help/repository/propose_file_change_button.png) - 1. Type a title and description for your pull request. 1. Click **Create pull request**. \ No newline at end of file diff --git a/content/repositories/working-with-files/managing-files/navigating-files-with-the-new-code-view.md b/content/repositories/working-with-files/managing-files/navigating-files-with-the-new-code-view.md index 9beeb0f442..8ad1de5802 100644 --- a/content/repositories/working-with-files/managing-files/navigating-files-with-the-new-code-view.md +++ b/content/repositories/working-with-files/managing-files/navigating-files-with-the-new-code-view.md @@ -96,7 +96,8 @@ Rather than losing file context when you enter the blame view, you can now use t 1. Select a repository, then click a file within that repository to open the new code view. 1. To see the revision history of the file, above the file content, click **Blame**. This view gives you a line-by-line revision history, with the code in a file separated by commit. Each commit lists the author, commit description, and commit date. - - To see versions of a file before a particular commit, click {% octicon "versions" aria-label="The versions icon" %}. Alternatively, to see more detail about a particular commit, click the commit message. + - To see versions of a file before a particular commit, click {% octicon "versions" aria-label="View blame prior to this change" %}. Alternatively, to see more detail about a particular commit, click the commit message. + ![Screenshot of a commit in the blame view. The commit message and versions icon are outlined in dark orange.](/assets/images/help/repository/code-view-blame-commit-options.png) 1. To return to the raw code view, above the file content, click **Code**. diff --git a/content/repositories/working-with-files/using-files/navigating-code-on-github.md b/content/repositories/working-with-files/using-files/navigating-code-on-github.md index 044f62a119..a6aca5361f 100644 --- a/content/repositories/working-with-files/using-files/navigating-code-on-github.md +++ b/content/repositories/working-with-files/using-files/navigating-code-on-github.md @@ -67,7 +67,7 @@ Certain languages supported by {% data variables.product.prodname_dotcom %} have If you don't see the results you expect from a precise code navigation query, you can click on the "search-based" link in the displayed popover to perform search-based navigation. -![Search-based code navigation link](/assets/images/help/repository/search-based-code-navigation-link.png) +![Screenshot of the function window. Two links, labeled, "Search for this symbol in this repository" and "all repositories," are outlined in dark orange.](/assets/images/help/repository/search-based-code-navigation-link.png) If your precise results appear inaccurate, you can file a support request. diff --git a/content/repositories/working-with-files/using-files/viewing-a-file.md b/content/repositories/working-with-files/using-files/viewing-a-file.md index 9a6c758bbb..96a3cf4e15 100644 --- a/content/repositories/working-with-files/using-files/viewing-a-file.md +++ b/content/repositories/working-with-files/using-files/viewing-a-file.md @@ -23,19 +23,14 @@ With the raw view, you can view or copy the raw content of a file without any st {% data reusables.repositories.navigate-to-repo %} 1. Click the file that you want to view. -2. In the upper-right corner of the file view, click **Raw**. -![Screenshot of the Raw button in the file header](/assets/images/help/repository/raw-file-button.png) -3. Optionally, to copy the raw file content, in the upper-right corner of the file view, click **{% octicon "copy" aria-label="The copy icon" %}**. +1. In the upper-right corner of the file view, click **Raw**. + + ![Screenshot of a file. In the header, a button, labeled "Raw," outlined in dark orange.](/assets/images/help/repository/raw-file-button.png) +1. Optionally, to copy the raw file content, in the upper-right corner of the file view, click **{% octicon "copy" aria-label="Copy raw content" %}**. ## Viewing the line-by-line revision history for a file -Within the blame view, you can view the line-by-line revision history for an entire file. To view the revision history of a single line within a file, click {% octicon "versions" aria-label="View blame prior to this change" %}. Each time you click {% octicon "versions" aria-label="View blame prior to this change" %}, you'll see the previous revision information for that line, including who committed the change and when. - -![Screenshot of the "Blame" view of a file. To the right of a commit message, the versions icon is outlined in dark orange.](/assets/images/help/repository/git_blame.png) - -In a file or pull request, you can also use the {% octicon "kebab-horizontal" aria-label="The horizontal kebab octicon" %} menu to view Git blame for a selected line or range of lines. - -![Kebab menu with option to view Git blame for a selected line](/assets/images/help/repository/view-git-blame-specific-line.png) +Within the blame view, you can view the line-by-line revision history for an entire file. {% tip %} @@ -44,11 +39,12 @@ In a file or pull request, you can also use the {% octicon "kebab-horizontal" ar {% endtip %} {% data reusables.repositories.navigate-to-repo %} -2. Click to open the file whose line history you want to view. -3. In the upper-right corner of the file view, click **Blame** to open the blame view. +1. Click to open the file whose line history you want to view. +1. In the upper-right corner of the file view, click **Blame** to open the blame view. ![Blame button](/assets/images/help/repository/blame-button.png) -4. To see earlier revisions of a specific line, or reblame, click {% octicon "versions" aria-label="The prior blame icon" %} until you've found the changes you're interested in viewing. -![Prior blame button](/assets/images/help/repository/prior-blame-button.png) +1. To see earlier revisions of a specific line, or reblame, click {% octicon "versions" aria-label="View blame prior to this change" %} until you've found the changes you're interested in viewing. + + ![Screenshot of the "Blame" view of a file. To the right of a commit message, the versions icon is outlined in dark orange.](/assets/images/help/repository/git_blame.png) {% ifversion blame-ignore-revs %} diff --git a/content/repositories/working-with-files/using-files/working-with-non-code-files.md b/content/repositories/working-with-files/using-files/working-with-non-code-files.md index 961e3003ce..11b5fa51dc 100644 --- a/content/repositories/working-with-files/using-files/working-with-non-code-files.md +++ b/content/repositories/working-with-files/using-files/working-with-non-code-files.md @@ -90,15 +90,13 @@ When looking at a commit or set of changes which includes an STL file, you'll be By default, you'll get a view where everything unchanged is in wireframe. Additions are colored in green, and removed parts are colored in red. -![wireframe](/assets/images/help/repository/stl_wireframe.png) +![Screenshot of the diff for a STL file. Portions of a 3D object are red, and other portions are green.](/assets/images/help/repository/stl_wireframe.png) You can also select the **Revision Slider** option, which lets you use a slider at the top of the file to transition between the current and previous revisions. ### Fixing slow performance -If you see this icon in the corner of the viewer, then the WebGL technology is not available on your browser: - -![WebGL pop error](/assets/images/help/repository/render_webgl_error.png) +If you see {% octicon "info" aria-label="the info icon" %} in the corner of the viewer, with the tooltip "WebGL powered hardware support not available," then the WebGL technology is not available on your browser. WebGL is necessary to take advantage of your computer's hardware to its fullest. We recommend you try browsers like [Chrome](https://www.google.com/intl/en/chrome/browser/) or [Firefox](https://www.mozilla.org/en-US/firefox/new/), which ship with WebGL enabled. @@ -136,9 +134,9 @@ You can embed ASCII STL syntax directly in Markdown. For more information, see " ## Rendering CSV and TSV data -GitHub supports rendering tabular data in the form of *.csv* (comma-separated) and .*tsv* (tab-separated) files. +{% data variables.product.prodname_dotcom %} supports rendering tabular data in the form of *.csv* (comma-separated) and .*tsv* (tab-separated) files. -![Rendered CSV sample](/assets/images/help/repository/rendered_csv.png) +![Screenshot of a rendered CSV file, with data shown in a table format.](/assets/images/help/repository/rendered_csv.png) When viewed, any _.csv_ or _.tsv_ file committed to a repository on {% ifversion ghae %}{% data variables.product.product_name %}{% else %}{% data variables.location.product_location %}{% endif %} automatically renders as an interactive table, complete with headers and row numbering. By default, we'll always assume the first row is your header row. @@ -146,9 +144,7 @@ You can link to a particular row by clicking the row number, or select multiple ### Searching data -If you want to find a certain value in your dataset, you can start typing in the search bar directly above the file. The rows will filter automatically: - -![Searching for values](/assets/images/help/repository/searching_csvs.gif) +If you want to find a certain value in your dataset, you can start typing in the search bar directly above the file. The rows will filter automatically. ### Handling errors @@ -163,9 +159,7 @@ Common errors include: ## Rendering PDF documents -GitHub supports rendering of PDF documents. - -![Rendered PDF Document](/assets/images/help/repository/rendered-pdf.png) +{% data variables.product.prodname_dotcom %} supports rendering of PDF documents. Currently, links within PDFs are ignored. @@ -189,11 +183,13 @@ Prose rendering is supported for rendered documents supported by [github/markup] * MediaWiki * Pod -![Paper icon to view rendered prose document](/assets/images/help/repository/rendered_prose_diff.png) +To see the changes made to the document as part of a commit, click {% octicon "file" aria-label="Display the rich diff" %}. -You can click {% octicon "file" aria-label="The paper icon" %} to see the changes made to the document as part of a commit. +![Screenshot of the diff for a Markdown file. In the header of the file, a file icon is outlined in dark orange.](/assets/images/help/repository/rendered_prose_diff.png) -![Rendered Prose changes](/assets/images/help/repository/rendered_prose_changes.png) +This "rich diff" highlights the code that has been added and removed. + +![Screenshot of the diff for a Markdown file. "@octo-org/core" is struck through, with a red background, followed by "@octocat", with a green background.](/assets/images/help/repository/rendered_prose_changes.png) ### Disabling Markdown rendering @@ -205,7 +201,7 @@ We provide a tooltip describing changes to attributes that, unlike words, would not otherwise be visible in the rendered document. For example, if a link URL changes from one website to another, we'd show a tooltip like this: -![Rendered Prose attribute changes](/assets/images/help/repository/prose_diff_attributes.png) +![Screenshot of the diff for a Markdown file. A tooltip over a link says "href: /octo-org-repo/blob/CONTRIBUTING -> /octo-org/octo-repo/blob/docs/CONTRIBUTING."](/assets/images/help/repository/prose_diff_attributes.png) ### Commenting on changes @@ -222,8 +218,6 @@ of your rendered prose diff to specific sections. Some pull requests involve a large number of changes with large, complex documents. When the changes take too long to analyze, {% data variables.product.product_name %} can't always produce a rendered view of the changes. If this happens, you'll see an error message when you click the rendered button. -![Message when view can't be rendered](/assets/images/help/repository/prose_diff_rendering.png) - You can still use the source view to analyze and comment on changes. ### Viewing HTML elements @@ -234,11 +228,7 @@ In general, rendered views of changes to a document containing embedded HTML wil ## Mapping GeoJSON/TopoJSON files on {% data variables.product.prodname_dotcom %} -{% data variables.product.product_name %} supports rendering GeoJSON and TopoJSON map files within {% data variables.product.product_name %} repositories. Simply commit the file as you would normally using a `.geojson` or `.topojson` extension. Files with a `.json` extension are also supported, but only if `type` is set to `FeatureCollection`, `GeometryCollection`, or `topology`. Then, navigate to the path of the GeoJSON/TopoJSON file on GitHub.com. - -When you click the paper icon on the right, you'll also see the changes made to that file as part of a commit. - -![Source Render toggle screenshot](/assets/images/help/repository/source-render-toggle-geojson.png) +{% data variables.product.product_name %} supports rendering GeoJSON and TopoJSON map files within {% data variables.product.product_name %} repositories. Commit the file as you would normally using a `.geojson` or `.topojson` extension. Files with a `.json` extension are also supported, but only if `type` is set to `FeatureCollection`, `GeometryCollection`, or `topology`. Then, navigate to the path of the GeoJSON/TopoJSON file on {% data variables.product.product_name %}. ### Geometry types @@ -301,9 +291,7 @@ The underlying map data (street names, roads, etc.) are driven by [OpenStreetMap If you're having trouble rendering GeoJSON files, ensure you have a valid GeoJSON file by running it through a [GeoJSON linter](http://geojsonlint.com/). If your points aren't appearing where you'd expect (e.g., in the middle of the ocean), it's likely that the data is in a projection which is currently unsupported. Currently, {% data variables.product.product_name %} only supports the `urn:ogc:def:crs:OGC:1.3:CRS84` projection. -Additionally, if your `.geojson` file is especially large (over 10 MB), it is not possible to render within the browser. If that's the case, you'll generally see a message that looks something like this: - -![Large file](/assets/images/help/repository/view_raw.png) +Additionally, if your `.geojson` file is especially large (over 10 MB), it is not possible to render within the browser. If that's the case, you'll generally see a message that says we can't show files that large. It may still be possible to render the data by converting the `.geojson` file to [TopoJSON](https://github.com/mbostock/topojson), a compression format that, in some cases, can reduce filesize by up to 80%. Of course, you can always break the file into smaller chunks (such as by state or by year), and store the data as multiple files within the repository. diff --git a/content/sponsors/getting-started-with-github-sponsors/quickstart-for-finding-contributors-to-sponsor.md b/content/sponsors/getting-started-with-github-sponsors/quickstart-for-finding-contributors-to-sponsor.md index 21a7f3a218..9083620bfd 100644 --- a/content/sponsors/getting-started-with-github-sponsors/quickstart-for-finding-contributors-to-sponsor.md +++ b/content/sponsors/getting-started-with-github-sponsors/quickstart-for-finding-contributors-to-sponsor.md @@ -16,9 +16,7 @@ As you consider where to find open source contributors to sponsor, consider star If you're logged in, the sponsors results will start with public dependencies that your repositories depend on. -You can also toggle which of your accounts to view results for and further filter or search. - -![Search options on sponsors community search page](/assets/images/help/sponsors/sponsors-search-options.png) +Using the "Explore as," "Ecosystem," and "Filters" sidebar menus, you can also toggle which of your accounts to view dependencies for and further filter your results. ## Explore whom others sponsor diff --git a/content/sponsors/receiving-sponsorships-through-github-sponsors/contacting-your-sponsors.md b/content/sponsors/receiving-sponsorships-through-github-sponsors/contacting-your-sponsors.md index cb82e7f20e..0357ef9ec4 100644 --- a/content/sponsors/receiving-sponsorships-through-github-sponsors/contacting-your-sponsors.md +++ b/content/sponsors/receiving-sponsorships-through-github-sponsors/contacting-your-sponsors.md @@ -23,7 +23,7 @@ For sponsored developer accounts, the update will come from your personal accoun {% data reusables.sponsors.navigate-to-sponsors-dashboard %} 1. In the "Manage" section of the sidebar, click **Newsletters**. -{% data reusables.sponsors.draft-new-update %} -{% data reusables.sponsors.send-update-to-sponsors %} -{% data reusables.sponsors.write-sponsor-update %} +1. To the right of "Email updates to your sponsors", click **Draft a new update**. +1. Optionally, to send your email to sponsors on specific tiers, click the **All sponsors** dropdown menu, then select one or more tiers. +1. Type a subject and message for your update. {% data reusables.sponsors.publish-sponsor-update %} diff --git a/content/sponsors/receiving-sponsorships-through-github-sponsors/managing-your-sponsorship-tiers.md b/content/sponsors/receiving-sponsorships-through-github-sponsors/managing-your-sponsorship-tiers.md index 8f51854e74..1bdf317b14 100644 --- a/content/sponsors/receiving-sponsorships-through-github-sponsors/managing-your-sponsorship-tiers.md +++ b/content/sponsors/receiving-sponsorships-through-github-sponsors/managing-your-sponsorship-tiers.md @@ -28,9 +28,6 @@ shortTitle: Manage payment tiers 1. If you are setting up tiers for the first time, we recommend you review the suggested tier examples to see how some other open source contributors have set up {% data variables.product.prodname_sponsors %}. Decide whether you want to start with some suggested draft tiers, which you can customize in the tier editor. - To use a suggested tier, select the rewards you'd like to include in your draft tier or tiers. Then, click **Continue to tier editor**. - To create tiers without using with any of the draft suggestions, click **Skip this step**. - - ![Screenshot of "Skip this step" option and "Continue to tier editor" button](/assets/images/help/sponsors/tier-editor-button.png) - 1. Optionally, in the text boxes in the "Custom amounts" section, type a recommended or minimum sponsorship amount. The minimum amount applies to both recurring and one-time sponsorships. 1. Optionally, to edit a draft tier, find the draft tier and click **Edit**. diff --git a/content/sponsors/receiving-sponsorships-through-github-sponsors/setting-up-github-sponsors-for-your-personal-account.md b/content/sponsors/receiving-sponsorships-through-github-sponsors/setting-up-github-sponsors-for-your-personal-account.md index bb695c0d73..2637b14916 100644 --- a/content/sponsors/receiving-sponsorships-through-github-sponsors/setting-up-github-sponsors-for-your-personal-account.md +++ b/content/sponsors/receiving-sponsorships-through-github-sponsors/setting-up-github-sponsors-for-your-personal-account.md @@ -27,8 +27,6 @@ To join {% data variables.product.prodname_sponsors %} as an organization, see " 1. Click **Join the waitlist**. {% data reusables.sponsors.contact-info %} {% data reusables.sponsors.payout-choice %} - ![Screenshot of option to choose between a bank account and a fiscal host](/assets/images/help/sponsors/user-waitlist-payout-options.png) - {% data reusables.sponsors.accept-legal-terms %} If you have a bank account in a supported region, {% data variables.product.prodname_dotcom %} will review your application within two weeks. diff --git a/content/sponsors/receiving-sponsorships-through-github-sponsors/unpublishing-your-github-sponsors-profile.md b/content/sponsors/receiving-sponsorships-through-github-sponsors/unpublishing-your-github-sponsors-profile.md index a1a81f1fb2..523ae753c2 100644 --- a/content/sponsors/receiving-sponsorships-through-github-sponsors/unpublishing-your-github-sponsors-profile.md +++ b/content/sponsors/receiving-sponsorships-through-github-sponsors/unpublishing-your-github-sponsors-profile.md @@ -19,7 +19,5 @@ After your {% data variables.product.prodname_sponsors %} account is unpublished {% data reusables.sponsors.navigate-to-sponsors-dashboard %} {% data reusables.sponsors.settings-tab %} -3. Under "Unpublish your GitHub Sponsors profile", click **Unpublish profile**. - !["Unpublish profile" button](/assets/images/help/sponsors/unpublish-profile-button.png) -4. To confirm, click "Unpublish GitHub Sponsors account". - !["Unpublish GitHub Sponsors profile" button](/assets/images/help/sponsors/unpublish-profile-dialog.png) +1. In the "Unpublish your {% data variables.product.prodname_sponsors %} profile" section, click **Unpublish profile**. +1. To confirm, in the modal dialog that appears, click **Unpublish {% data variables.product.prodname_sponsors %} account**. diff --git a/content/sponsors/receiving-sponsorships-through-github-sponsors/using-a-fiscal-host-to-receive-github-sponsors-payouts.md b/content/sponsors/receiving-sponsorships-through-github-sponsors/using-a-fiscal-host-to-receive-github-sponsors-payouts.md index eb86a8bc75..ea35634bee 100644 --- a/content/sponsors/receiving-sponsorships-through-github-sponsors/using-a-fiscal-host-to-receive-github-sponsors-payouts.md +++ b/content/sponsors/receiving-sponsorships-through-github-sponsors/using-a-fiscal-host-to-receive-github-sponsors-payouts.md @@ -30,9 +30,6 @@ When you sign up for a {% data variables.product.prodname_sponsors %} profile so Once you navigate to the "Join the waitlist" profile setup page for the account you want sponsored, you will see the "How you receive payouts" or "Organization bank account" section, depending on which type of account you are setting up. For more information on how to sign up for a {% data variables.product.prodname_sponsors %} profile, see "[AUTOTITLE](/sponsors/receiving-sponsorships-through-github-sponsors/setting-up-github-sponsors-for-your-personal-account)" or "[AUTOTITLE](/sponsors/receiving-sponsorships-through-github-sponsors/setting-up-github-sponsors-for-your-organization)." 1. Under "How you receive payouts" or "Organization bank account", select the **Use a fiscal host** or **This organization is using a fiscal host** option. - - ![Screenshot of option to choose between a bank account and a fiscal host](/assets/images/help/sponsors/user-waitlist-payout-options.png) - 1. Use the **Select a fiscal host** dropdown to choose the fiscal host you want to use. ![Screenshot of the fiscal host options for a sponsor profile. A collapsed dropdown menu, labeled "Select a fiscal host", is outlined in dark orange.](/assets/images/help/sponsors/choose-fiscal-host-dropdown.png) diff --git a/content/sponsors/sponsoring-open-source-contributors/attributing-sponsorships-to-your-organization.md b/content/sponsors/sponsoring-open-source-contributors/attributing-sponsorships-to-your-organization.md index 118f086da2..20b6839f34 100644 --- a/content/sponsors/sponsoring-open-source-contributors/attributing-sponsorships-to-your-organization.md +++ b/content/sponsors/sponsoring-open-source-contributors/attributing-sponsorships-to-your-organization.md @@ -17,9 +17,10 @@ shortTitle: Attribute sponsorships 1. Navigate to the organization whose sponsorships you want to attribute to another organization. 1. Under your organization name, click {% octicon "heart" aria-label="The heart icon" %} **Sponsoring**. - !["Sponsoring" tab](/assets/images/help/sponsors/sponsoring-tab.png) + + ![Screenshot of the "{% data variables.product.prodname_dotcom %}" organization's home page. A menu tab, labeled "Sponsoring," is outlined in dark orange.](/assets/images/help/sponsors/sponsoring-tab.png) + 1. In the upper-right corner, click {% octicon "gear" aria-label="The gear icon" %} **Settings**. !["Settings" button](/assets/images/help/sponsors/sponsoring-settings-button.png) 1. In the "Link sponsorships to another account" section, select the dropdown menu, then click the organization you want your organization's sponsorships to be attributed to. 1. Click **Link account**. - !["Link account" button](/assets/images/help/sponsors/link-account-button.png) diff --git a/content/sponsors/sponsoring-open-source-contributors/sponsoring-an-open-source-contributor.md b/content/sponsors/sponsoring-open-source-contributors/sponsoring-an-open-source-contributor.md index 0dbae43639..088c1e8ccb 100644 --- a/content/sponsors/sponsoring-open-source-contributors/sponsoring-an-open-source-contributor.md +++ b/content/sponsors/sponsoring-open-source-contributors/sponsoring-an-open-source-contributor.md @@ -76,13 +76,10 @@ Before you can sponsor an account, you must have a verified email address. For m ![Screenshot of the sidebar of @octocat's profile page. A button, labeled with a heart icon and "Sponsor", is outlined in dark orange.](/assets/images/help/profile/sponsor-button.png) - To sponsor an organization, to the right of the organization's name, click **Sponsor**. - ![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.select-a-tier %} {% data reusables.sponsors.pay-prorated-amount %} {% data reusables.sponsors.select-sponsorship-billing %} {% data reusables.sponsors.who-can-see-your-sponsorship %} - ![Radio buttons to choose who can see your sponsorship](/assets/images/help/sponsors/who-can-see-sponsorship.png) {% data reusables.sponsors.choose-updates %} {% data reusables.sponsors.sponsor-account %} diff --git a/content/support/contacting-github-support/providing-data-to-github-support.md b/content/support/contacting-github-support/providing-data-to-github-support.md index 70338148fa..4c30f0d7de 100644 --- a/content/support/contacting-github-support/providing-data-to-github-support.md +++ b/content/support/contacting-github-support/providing-data-to-github-support.md @@ -134,8 +134,7 @@ You can use these steps to create and share a support bundle if you have SSH acc {% data reusables.enterprise-accounts.access-enterprise-on-dotcom %} {% data reusables.enterprise-accounts.settings-tab %} -3. In the left sidebar, click **Enterprise licensing**. - ![Screenshot showing "Enterprise licensing" link in the enterprise account settings sidebar.](/assets/images/help/enterprises/enterprise-licensing-tab.png) +{% data reusables.enterprise-accounts.license-tab %} 4. Under "{% data variables.product.prodname_enterprise %} Help", click **Upload a support bundle**. ![Screenshot showing "Upload a support bundle link".](/assets/images/enterprise/support/upload-support-bundle.png) 5. Under "Select an enterprise account", select the support bundle's associated account from the drop-down menu. diff --git a/data/reusables/community/report-content.md b/data/reusables/community/report-content.md index 469db015dd..56cabef508 100644 --- a/data/reusables/community/report-content.md +++ b/data/reusables/community/report-content.md @@ -1,6 +1,4 @@ 1. You may see options to **Report to repository admins** or **Report abuse to {% data variables.product.prodname_dotcom %} Support**. If not, skip to the next step. - To report the content to {% data variables.product.prodname_dotcom %} Support, click **Report abuse to {% data variables.product.prodname_dotcom %} Support**. - - To report the content to repository maintainers, use the **Choose a reason** drop-down to select a reason, then click **Report to repository admins**. Your report has been submitted. - !["Report content" modal](/assets/images/help/repository/report-content-modal.png) -2. Complete the "Report content" form, then click **Send request**. - !["Report content" form](/assets/images/help/repository/report-content-to-support-form.png) + - To report the content to repository maintainers, use the **Choose a reason** dropdown to select a reason, then click **Report to repository admins**. Your report has been submitted. +1. Complete the "Report content" form, then click **Send request**. diff --git a/data/reusables/community/set-interaction-limit.md b/data/reusables/community/set-interaction-limit.md index 0d3d3f9eec..cecbd2b235 100644 --- a/data/reusables/community/set-interaction-limit.md +++ b/data/reusables/community/set-interaction-limit.md @@ -1 +1 @@ -5. Under "Temporary interaction limits", to the right of the type of interaction limit you want to set, use the **Enable** drop-down menu, then click the duration you want for your interaction limit. +1. Under "Temporary interaction limits", to the right of the type of interaction limit you want to set, select the **Enable** dropdown menu, then click the duration you want for your interaction limit. diff --git a/data/reusables/enterprise-accounts/email-tab.md b/data/reusables/enterprise-accounts/email-tab.md deleted file mode 100644 index c00994a9ed..0000000000 --- a/data/reusables/enterprise-accounts/email-tab.md +++ /dev/null @@ -1,2 +0,0 @@ -1. Under {% octicon "gear" aria-label="The Settings gear" %} **Settings**, click **Email**. - ![Email tab in the enterprise account sidebar](/assets/images/enterprise/configuration/enterprise-account-email-tab.png) diff --git a/data/reusables/enterprise-accounts/license-tab.md b/data/reusables/enterprise-accounts/license-tab.md index 00680aa24d..a08b922a5c 100644 --- a/data/reusables/enterprise-accounts/license-tab.md +++ b/data/reusables/enterprise-accounts/license-tab.md @@ -1,11 +1 @@ -{% ifversion fpt or ghec %} - -1. In the left sidebar, click **Enterprise licensing**. - !["Enterprise licensing" tab in the enterprise account settings sidebar](/assets/images/help/enterprises/enterprise-licensing-tab.png) - -{% else %} - -1. In the left sidebar, click **License**. - !["License" tab in the enterprise account settings sidebar](/assets/images/enterprise/enterprise-server/license.png) - -{% endif %} +1. Under {% octicon "gear" aria-hidden="true" %} **Settings**, click **{% ifversion ghec %}Enterprise licensing{% elsif ghes %}License{% endif %}**. \ No newline at end of file diff --git a/data/reusables/enterprise-accounts/messages-tab.md b/data/reusables/enterprise-accounts/messages-tab.md index ea4f2948e0..68e4408ebd 100644 --- a/data/reusables/enterprise-accounts/messages-tab.md +++ b/data/reusables/enterprise-accounts/messages-tab.md @@ -1,6 +1 @@ -1. Under **{% octicon "gear" aria-label="The Settings gear" %} Settings**, click **{%ifversion ghes %}Messages{% elsif ghec or ghae %}Announcement{% endif %}**. - {%- ifversion ghec or ghae %} - ![Announcement tab in the enterprise settings sidebar](/assets/images/enterprise/business-accounts/settings-announcement-tab.png) - {% elsif ghes %} - ![Messages tab in the enterprise settings sidebar](/assets/images/enterprise/business-accounts/settings-messages-tab.png) - {%- endif %} +1. Under **{% octicon "gear" aria-label="The Settings gear" %} Settings**, click **{%ifversion ghes %}Messages{% elsif ghec or ghae %}Announcement{% endif %}**. \ No newline at end of file diff --git a/data/reusables/enterprise-accounts/options-tab.md b/data/reusables/enterprise-accounts/options-tab.md index 8601c3de9c..c2f65d4286 100644 --- a/data/reusables/enterprise-accounts/options-tab.md +++ b/data/reusables/enterprise-accounts/options-tab.md @@ -1,2 +1 @@ 1. Under {% ifversion ghes or ghae %} {% octicon "law" aria-label="The law icon" %} **Policies**{% else %}"{% octicon "gear" aria-label="The Settings gear" %} Settings"{% endif %}, click **Options**. -![Options tab in the enterprise account settings sidebar](/assets/images/enterprise/business-accounts/settings-options-tab.png) diff --git a/data/reusables/enterprise-accounts/pages-policies-save.md b/data/reusables/enterprise-accounts/pages-policies-save.md index 4df7ee9b90..4fb2d1cddc 100644 --- a/data/reusables/enterprise-accounts/pages-policies-save.md +++ b/data/reusables/enterprise-accounts/pages-policies-save.md @@ -1,2 +1 @@ 6. Click **Save**. - ![Save button](/assets/images/enterprise/business-accounts/pages-policies-save-button.png) diff --git a/data/reusables/enterprise-migration-tool/wait-flag.md b/data/reusables/enterprise-migration-tool/wait-flag.md new file mode 100644 index 0000000000..31db7bf742 --- /dev/null +++ b/data/reusables/enterprise-migration-tool/wait-flag.md @@ -0,0 +1 @@ +The command will keep running until your migration finishes. \ No newline at end of file diff --git a/data/reusables/files/propose_file_change.md b/data/reusables/files/propose_file_change.md index a14c09b376..04bd39ecc3 100644 --- a/data/reusables/files/propose_file_change.md +++ b/data/reusables/files/propose_file_change.md @@ -1,2 +1 @@ 1. Click **Propose file change**. -![Propose file change button](/assets/images/help/repository/propose-file-change-quick-pull.png) diff --git a/data/reusables/files/write_commit_message.md b/data/reusables/files/write_commit_message.md index b67b407701..76adbdd0fd 100644 --- a/data/reusables/files/write_commit_message.md +++ b/data/reusables/files/write_commit_message.md @@ -1,2 +1,2 @@ -1. At the bottom of the page, type a short, meaningful commit message that describes the change you made to the file. You can attribute the commit to more than one author in the commit message. For more information, see "[AUTOTITLE](/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-with-multiple-authors)." -![Commit message for your change](/assets/images/help/repository/write-commit-message-quick-pull.png) +1. Click **Commit changes...** +1. In the "Commit message" field, type a short, meaningful commit message that describes the change you made to the file. You can attribute the commit to more than one author in the commit message. For more information, see "[AUTOTITLE](/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-with-multiple-authors)." diff --git a/data/reusables/repositories/accessing-repository-graphs.md b/data/reusables/repositories/accessing-repository-graphs.md index cef28cdb54..7cccda4803 100644 --- a/data/reusables/repositories/accessing-repository-graphs.md +++ b/data/reusables/repositories/accessing-repository-graphs.md @@ -1,2 +1,3 @@ -1. Under your repository name, click {% octicon "graph" aria-label="The bar graph icon" %} **Insights**. -![Insights tab in the main repository navigation bar](/assets/images/help/repository/repo-nav-insights-tab.png) +1. Under your repository name, click {% octicon "graph" aria-hidden="true" %} **Insights**. + + ![Screenshot of the main page of a repository. In the horizontal navigation bar, a tab, labeled with a graph icon and "Insights," is outlined in dark orange.](/assets/images/help/repository/repo-nav-insights-tab.png) diff --git a/data/reusables/repositories/create-repo.md b/data/reusables/repositories/create-repo.md index 5ba8c3a1e0..c75e00f74b 100644 --- a/data/reusables/repositories/create-repo.md +++ b/data/reusables/repositories/create-repo.md @@ -1,2 +1 @@ 1. Click **Create repository**. - ![Button to create repository](/assets/images/help/repository/create-repository-button.png) diff --git a/data/reusables/repositories/navigate-to-code-security-and-analysis.md b/data/reusables/repositories/navigate-to-code-security-and-analysis.md index c1a1e6dfef..123224d961 100644 --- a/data/reusables/repositories/navigate-to-code-security-and-analysis.md +++ b/data/reusables/repositories/navigate-to-code-security-and-analysis.md @@ -1,6 +1,5 @@ -{% ifversion fpt or ghec or ghes > 3.4 or ghae > 3.4 %} -1. In the "Security" section of the sidebar, click **{% octicon "codescan" aria-label="code security and analysis icon" %} Code security and analysis**. -{% else %} +{%- ifversion fpt or ghec or ghes > 3.4 or ghae > 3.4 %} +1. In the "Security" section of the sidebar, click **{% octicon "codescan" aria-hidden="true" %} Code security and analysis**. +{%- else %} 1. In the left sidebar, click **Security & analysis**. - !["Security & analysis" tab in repository settings](/assets/images/help/repository/security-and-analysis-tab.png) -{% endif %} +{%- endif %} diff --git a/data/reusables/repositories/navigate-to-job.md b/data/reusables/repositories/navigate-to-job.md index e46f87610d..45f80f2cd5 100644 --- a/data/reusables/repositories/navigate-to-job.md +++ b/data/reusables/repositories/navigate-to-job.md @@ -1,3 +1 @@ -1. Under **Jobs** or in the visualization graph, click the job you want to see. - - ![Lint code base job](/assets/images/help/repository/superlinter-lint-code-base-job-updated.png) +1. Under **Jobs** or in the visualization graph, click the job you want to see. \ No newline at end of file diff --git a/data/reusables/repositories/navigate-to-workflow.md b/data/reusables/repositories/navigate-to-workflow.md index e1ee9e8178..90c266bd9e 100644 --- a/data/reusables/repositories/navigate-to-workflow.md +++ b/data/reusables/repositories/navigate-to-workflow.md @@ -1,2 +1,3 @@ 1. In the left sidebar, click the workflow you want to see. - ![Workflow list in left sidebar](/assets/images/help/repository/superlinter-workflow-sidebar.png) + + ![Screenshot of the left sidebar of the "Actions" tab. A workflow, "CodeQL," is outlined in dark orange.](/assets/images/help/actions/superlinter-workflow-sidebar.png) diff --git a/data/reusables/repositories/reported-content-resolved-tab.md b/data/reusables/repositories/reported-content-resolved-tab.md index ed1a34d468..7f7db88358 100644 --- a/data/reusables/repositories/reported-content-resolved-tab.md +++ b/data/reusables/repositories/reported-content-resolved-tab.md @@ -1,2 +1 @@ 1. Under "Abuse reports", click **Resolved**. - !["Resolved" tab under "Abuse reports"](/assets/images/help/repository/reported-content-resolved-tab.png) diff --git a/data/reusables/repositories/repository-branches.md b/data/reusables/repositories/repository-branches.md index 3b0b72e5a1..700a9019bf 100644 --- a/data/reusables/repositories/repository-branches.md +++ b/data/reusables/repositories/repository-branches.md @@ -1,6 +1,5 @@ {% ifversion fpt or ghec or ghes > 3.4 or ghae > 3.4 %} -1. In the "Code and automation" section of the sidebar, click **{% octicon "git-branch" aria-label="The git-branch icon" %} Branches**. +1. In the "Code and automation" section of the sidebar, click **{% octicon "git-branch" aria-hidden="true" %} Branches**. {% else %} 1. In the left menu, click **Branches**. -![Repository options sub-menu](/assets/images/help/repository/repository-options-branch.png) {% endif %} diff --git a/data/reusables/repositories/section-links.md b/data/reusables/repositories/section-links.md index cd098a00d5..da9756c0a1 100644 --- a/data/reusables/repositories/section-links.md +++ b/data/reusables/repositories/section-links.md @@ -1,3 +1,3 @@ -You can link directly to a section in a rendered file by hovering over the section heading to expose the link: +You can link directly to a section in a rendered file by hovering over the section heading to expose {% octicon "link" aria-label="the link" %}. -![Section link within the README file for the github/scientist repository](/assets/images/help/repository/readme-links.png) +![Screenshot of a README for a repository. To the left of a section heading, a link icon is outlined in dark orange.](/assets/images/help/repository/readme-links.png) diff --git a/data/reusables/repositories/sidebar-code-scanning-alerts.md b/data/reusables/repositories/sidebar-code-scanning-alerts.md index a829504e4e..f64eaa0788 100644 --- a/data/reusables/repositories/sidebar-code-scanning-alerts.md +++ b/data/reusables/repositories/sidebar-code-scanning-alerts.md @@ -1,2 +1 @@ 1. In the left sidebar, click **Code scanning alerts**. - !["Code scanning alerts" tab](/assets/images/help/repository/sidebar-code-scanning-alerts.png) diff --git a/data/reusables/repositories/sidebar-issue-pr.md b/data/reusables/repositories/sidebar-issue-pr.md index 430a98a514..b7a9c43f74 100644 --- a/data/reusables/repositories/sidebar-issue-pr.md +++ b/data/reusables/repositories/sidebar-issue-pr.md @@ -1,2 +1,3 @@ -1. Under your repository name, click {% octicon "issue-opened" aria-label="The issues icon" %} **Issues** or {% octicon "git-pull-request" aria-label="The pull request icon" %} **Pull requests**. -![Issues and pull requests tab selection](/assets/images/help/repository/repo-settings-issues-pull-requests.png) +1. Under your repository name, click {% octicon "issue-opened" aria-hidden="true" %} **Issues** or {% octicon "git-pull-request" aria-hidden="true" %} **Pull requests**. + + ![Screenshot of the main page of a repository. In the horizontal navigation bar, two tabs, labeled "Issues" and "Pull requests," are each outlined in dark orange.s](/assets/images/help/repository/repo-settings-issues-pull-requests.png) diff --git a/data/reusables/repositories/sidebar-issues.md b/data/reusables/repositories/sidebar-issues.md index a75dc6b6ad..3c692adc7a 100644 --- a/data/reusables/repositories/sidebar-issues.md +++ b/data/reusables/repositories/sidebar-issues.md @@ -1,3 +1,3 @@ -2. Under your repository name, click {% octicon "issue-opened" aria-label="The issues icon" %} **Issues**. - - ![Issues tab](/assets/images/help/repository/repo-tabs-issues.png) +1. Under your repository name, click {% octicon "issue-opened" aria-hidden="true" %} **Issues**. + + ![Screenshot of the main page of a repository. In the horizontal navigation bar, a tab, labeled "Issues," is outlined in dark orange.](/assets/images/help/repository/repo-tabs-issues.png) diff --git a/data/reusables/repositories/sidebar-pr.md b/data/reusables/repositories/sidebar-pr.md index ab8fc9d775..261b026634 100644 --- a/data/reusables/repositories/sidebar-pr.md +++ b/data/reusables/repositories/sidebar-pr.md @@ -1,5 +1,3 @@ -1. Under your repository name, click {% octicon "git-pull-request" aria-label="The pull request icon" %} **Pull requests**. - {% ifversion fpt or ghec %} - ![Issues and pull requests tab selection](/assets/images/help/repository/repo-tabs-pull-requests.png){% elsif ghes or ghae %} - ![Pull request tab selection](/assets/images/enterprise/3.3/repository/repo-tabs-pull-requests.png){% else %} - ![Issues tab](/assets/images/enterprise/3.1/help/repository/repo-tabs-pull-requests.png){% endif %} +1. Under your repository name, click {% octicon "git-pull-request" aria-hidden="true" %} **Pull requests**. + + ![Screenshot of the main page of a repository. In the horizontal navigation bar, a tab, labeled "Pull requests," is outlined in dark orange.](/assets/images/help/repository/repo-tabs-pull-requests.png) diff --git a/data/reusables/repositories/transfer-repository-steps.md b/data/reusables/repositories/transfer-repository-steps.md index 6fc602d70c..e1107353db 100644 --- a/data/reusables/repositories/transfer-repository-steps.md +++ b/data/reusables/repositories/transfer-repository-steps.md @@ -1,39 +1,21 @@ -{% ifversion rename-and-transfer-repository %} +{%- ifversion rename-and-transfer-repository %} 1. At the bottom of the page, in the "Danger Zone" section, click **Transfer**. +1. Read the information about transferring a repository, then, under "New owner", choose how to specify the new owner. + - To choose one of your organizations, select **Select one of my organizations**. - ![Screenshot of the transfer button](/assets/images/help/repository/repo-transfer.png) - -1. Read the information about transferring a repository, then, following "New owner", select one of the options. - - To choose one of your organizations, select **Select one of my organizations**, then use the dropdown menu to specify an organization. - - Optionally, to rename the repository, enter a new name in the **Repository name** field. + - Select the dropdown menu and click an organization. + - Optionally, in the "Repository name" field, type a new name for the repository. {% note %} - **Note:** You must be an admin on the target organization to rename the repository. + **Note:** You must be an owner of the target organization to rename the repository. {% endnote %} - - ![Screenshot of the information about repository transfer and options to select the new owner](/assets/images/help/repository/rename-repo-during-transfer.png) - - - To specify an organization or username, select **Specify an organization or username**, then enter the organization name or the new owner's username. - - ![Screenshot of the information about repository transfer and options to select the new owner](/assets/images/help/repository/transfer-repo-new-owner-name.png) - + - To specify an organization or username, select **Specify an organization or username**, then type the organization name or the new owner's username. 1. Read the warnings about potential loss of features depending on the new owner's {% data variables.product.prodname_dotcom %} subscription. - - ![Screenshot of the warnings about transferring a repository to a person using a free product](/assets/images/help/repository/repo-transfer-free-plan-warnings.png) - -1. Following **Type REPOSITORY NAME to confirm.**, type the name of the repository you'd like to transfer, then click **I understand, transfer this repository**. - - ![Screenshot of the transfer screen](/assets/images/help/repository/repo-transfer-overview.png) - -{% else %} +1. Following **Type REPOSITORY NAME to confirm**, type the name of the repository you'd like to transfer, then click **I understand, transfer this repository**. +{%- else %} 1. At the bottom of the page, under "Danger Zone", click **Transfer**. - - ![Screenshot of the transfer button in the danger zone section](/assets/images/help/repository/repo-transfer.png) - 1. Read the warnings and enter the repository name to confirm that you've done so. -1. Type the name of the new owner and click **I understand, transfer this repo**. - - ![Screenshot of the transfer screen](/assets/images/help/repository/repo-transfer-complete.png) -{% endif %} +1. In the text box, type the name of the new owner and click **I understand, transfer this repo**. +{%- endif %} diff --git a/data/reusables/repositories/view-failed-job-results.md b/data/reusables/repositories/view-failed-job-results.md index b36daf50da..168a09687e 100644 --- a/data/reusables/repositories/view-failed-job-results.md +++ b/data/reusables/repositories/view-failed-job-results.md @@ -1,3 +1 @@ -1. Any failed steps are automatically expanded to display the results. - - ![Super linter workflow results](/assets/images/help/repository/super-linter-workflow-results-updated-2.png) +1. Any failed steps are automatically expanded to display the results. \ No newline at end of file diff --git a/data/reusables/repositories/view-run.md b/data/reusables/repositories/view-run.md index d9ad77c666..65419b61b4 100644 --- a/data/reusables/repositories/view-run.md +++ b/data/reusables/repositories/view-run.md @@ -1,3 +1 @@ -1. From the list of workflow runs, click the name of the run to see the workflow run summary. - - ![Name of workflow run](/assets/images/help/repository/run-name.png) +1. From the list of workflow runs, click the name of the run to see the workflow run summary. \ No newline at end of file diff --git a/data/reusables/sponsors/add-active-triggers.md b/data/reusables/sponsors/add-active-triggers.md index 37071be88b..b0f6ad6144 100644 --- a/data/reusables/sponsors/add-active-triggers.md +++ b/data/reusables/sponsors/add-active-triggers.md @@ -1,2 +1 @@ 1. To receive updates for the SponsorshipEvent, select **Active**. - ![Selecting active events](/assets/images/help/sponsors/webhook-active.png) diff --git a/data/reusables/sponsors/add-payload-url.md b/data/reusables/sponsors/add-payload-url.md index 354fb1ae7b..026bd467c9 100644 --- a/data/reusables/sponsors/add-payload-url.md +++ b/data/reusables/sponsors/add-payload-url.md @@ -1,2 +1 @@ 1. Type a payload URL, then optionally customize the configuration. For more information, see "[AUTOTITLE](/webhooks-and-events/webhooks/creating-webhooks#creating-webhooks)." - ![Fields for payload URL and other customization options](/assets/images/help/sponsors/webhook-payload-url.png) diff --git a/data/reusables/sponsors/choose-updates.md b/data/reusables/sponsors/choose-updates.md index 77805d7054..4c286677ef 100644 --- a/data/reusables/sponsors/choose-updates.md +++ b/data/reusables/sponsors/choose-updates.md @@ -1,2 +1 @@ -4. Decide whether you want to receive email updates from the sponsored account, then select or unselect "Receive email updates from ACCOUNT." - ![Checkbox to receive updates from sponsored account](/assets/images/help/sponsors/updates-checkbox-manage.png) +1. Decide whether you want to receive email updates from the sponsored account, then select or unselect **Receive email updates from ACCOUNT**. diff --git a/data/reusables/sponsors/draft-new-update.md b/data/reusables/sponsors/draft-new-update.md deleted file mode 100644 index 6e311e6c3c..0000000000 --- a/data/reusables/sponsors/draft-new-update.md +++ /dev/null @@ -1,2 +0,0 @@ -4. To the right of "Email updates to your sponsors", click **Draft a new update**. - ![New update button](/assets/images/help/sponsors/new-update-button.png) diff --git a/data/reusables/sponsors/manage-existing-webhooks.md b/data/reusables/sponsors/manage-existing-webhooks.md index b27f182b05..c51fd59c01 100644 --- a/data/reusables/sponsors/manage-existing-webhooks.md +++ b/data/reusables/sponsors/manage-existing-webhooks.md @@ -1,2 +1 @@ 1. To edit an existing webhook, click **Edit**. To remove an existing webhook, click **Delete**. - ![Buttons for managing webhook](/assets/images/help/sponsors/webhook-edit-delete-button.png) diff --git a/data/reusables/sponsors/meet-the-team.md b/data/reusables/sponsors/meet-the-team.md index e8e465af57..e6ec7ccc62 100644 --- a/data/reusables/sponsors/meet-the-team.md +++ b/data/reusables/sponsors/meet-the-team.md @@ -1,5 +1,7 @@ 1. Optionally, choose the organization members that are highlighted on your {% data variables.product.prodname_sponsors %} profile. - In the "Meet the team" section, to the right of the section title, click **Edit**. - Select up to six organization members, then click **Save**. - ![Select highlighted organization members](/assets/images/help/sponsors/select-highlighted-org-members.png) + + ![Screenshot of a modal for adding organization members to an organization's {% data variables.product.prodname_sponsors %} profile.](/assets/images/help/sponsors/select-highlighted-org-members.png) + - Optionally, under each highlighted member's name, type a description of the member. diff --git a/data/reusables/sponsors/navigate-to-sponsor-tiers-tab.md b/data/reusables/sponsors/navigate-to-sponsor-tiers-tab.md index e66a7d470d..de8a2bc103 100644 --- a/data/reusables/sponsors/navigate-to-sponsor-tiers-tab.md +++ b/data/reusables/sponsors/navigate-to-sponsor-tiers-tab.md @@ -1,2 +1 @@ 1. On the left sidebar, click **Sponsor tiers**. - ![Sponsor tiers tab](/assets/images/help/sponsors/sponsor-tiers-tab.png) diff --git a/data/reusables/sponsors/navigate-to-webhooks-tab.md b/data/reusables/sponsors/navigate-to-webhooks-tab.md index 807be2b73d..682696d3b5 100644 --- a/data/reusables/sponsors/navigate-to-webhooks-tab.md +++ b/data/reusables/sponsors/navigate-to-webhooks-tab.md @@ -1,2 +1,3 @@ -3. In the left sidebar, click **Webhooks**. - ![Webhooks tab](/assets/images/help/sponsors/webhooks-tab.png) +1. In the left sidebar, click **Webhooks**. + + ![Screenshot of the sidebar on the {% data variables.product.prodname_sponsors %} dashboard. A tab in the "Manage" section, labeled "Webhooks", is outlined in dark orange.](/assets/images/help/sponsors/webhooks-tab.png) diff --git a/data/reusables/sponsors/navigate-to-your-goals-tab.md b/data/reusables/sponsors/navigate-to-your-goals-tab.md index c34e6bc707..bb03496d12 100644 --- a/data/reusables/sponsors/navigate-to-your-goals-tab.md +++ b/data/reusables/sponsors/navigate-to-your-goals-tab.md @@ -1,2 +1,3 @@ 1. In the left sidebar, click **Your goals**. -![Your goals tab](/assets/images/help/sponsors/your-goals-tab.png) + + ![Screenshot of the sidebar on the {% data variables.product.prodname_sponsors %} dashboard. A tab in the "Profile" section, labeled "Your goals", is outlined in dark orange.](/assets/images/help/sponsors/your-goals-tab.png) diff --git a/data/reusables/sponsors/pay-prorated-amount.md b/data/reusables/sponsors/pay-prorated-amount.md index 16ff7f0cf2..ca9d358611 100644 --- a/data/reusables/sponsors/pay-prorated-amount.md +++ b/data/reusables/sponsors/pay-prorated-amount.md @@ -1,2 +1,3 @@ -1. Optionally, if you're sponsoring as an organization, to pay a prorated amount instead of making the full monthly payment, under "Total due now", click **Pay prorated $X.XX instead**. - ![Link to pay prorated amount](/assets/images/help/sponsors/pay-prorated-amount-link.png) +1. Optionally, if you're sponsoring as an organization in the middle of a billing cycle, to make the full monthly payment instead of paying a prorated amount, click **pay the full amount**. + + ![Screenshot of the sponsorship summary page. A link with the text "pay the full amount" is outlined in dark orange.](/assets/images/help/sponsors/pay-full-amount-link.png) diff --git a/data/reusables/sponsors/review-tiers-to-select.md b/data/reusables/sponsors/review-tiers-to-select.md index 8dd4d85fa7..ceaea4af54 100644 --- a/data/reusables/sponsors/review-tiers-to-select.md +++ b/data/reusables/sponsors/review-tiers-to-select.md @@ -1,2 +1 @@ -1. On the right side of the page, under "Select a tier", review the sponsorship tiers available. If more than one type of tier is available "Monthly" tiers are shown, click **One-time** to show the tiers for one-time payments. - ![Show "One-time" tiers](/assets/images/help/sponsors/show-one-time-tiers.png) +1. On the right side of the page, beside "Select a tier", review the sponsorship tiers available. If more than one type of tier is available, "Monthly" tiers are shown by default. Click **One-time** to show the tiers for one-time payments. diff --git a/data/reusables/sponsors/select-goal-type.md b/data/reusables/sponsors/select-goal-type.md index 069c5a0e9a..685a703234 100644 --- a/data/reusables/sponsors/select-goal-type.md +++ b/data/reusables/sponsors/select-goal-type.md @@ -1,5 +1,4 @@ 1. In the "What is your goal based on?" section, select **Number of monthly sponsors** or **Sponsorships a month**. 1. Type the number of monthly sponsors you'd like to have, or the monthly amount you're aiming for. 1. In the "Describe your goal" section, type a description for your goal. -1. If you chose a goal based on sponsorships per month, select "I understand that this will publicly display how much sponsorship funds I receive each month". -![Checkbox that you understand your sponsorships fund will be published](/assets/images/help/sponsors/sponsorships-published-checkbox.png) +1. If you chose a goal based on sponsorships per month, select **I understand that this will publicly display how much sponsorship funds I receive each month**. diff --git a/data/reusables/sponsors/send-update-to-sponsors.md b/data/reusables/sponsors/send-update-to-sponsors.md deleted file mode 100644 index 88aed62158..0000000000 --- a/data/reusables/sponsors/send-update-to-sponsors.md +++ /dev/null @@ -1,2 +0,0 @@ -5. Optionally, to send your email to sponsors on specific tiers, use the **All sponsors** drop-down menu, and select one or more tiers. - ![Select sponsor tiers drop-down menu](/assets/images/help/sponsors/select-tiers-email.png) diff --git a/data/reusables/sponsors/set-a-goal.md b/data/reusables/sponsors/set-a-goal.md index ad601d8ba6..3cffff5ec4 100644 --- a/data/reusables/sponsors/set-a-goal.md +++ b/data/reusables/sponsors/set-a-goal.md @@ -1,2 +1 @@ 1. Under "Your goals", click **Set a goal**. -![Set a goal button ](/assets/images/help/sponsors/set-a-goal-button.png) diff --git a/data/reusables/sponsors/settings-tab.md b/data/reusables/sponsors/settings-tab.md index 8d53924431..b58aca5c72 100644 --- a/data/reusables/sponsors/settings-tab.md +++ b/data/reusables/sponsors/settings-tab.md @@ -1,2 +1 @@ 1. In the left sidebar, click **Settings**. - ![Settings tab](/assets/images/help/sponsors/settings-tab.png) diff --git a/data/reusables/sponsors/short-bio.md b/data/reusables/sponsors/short-bio.md index d98f46cd51..caf4a5410a 100644 --- a/data/reusables/sponsors/short-bio.md +++ b/data/reusables/sponsors/short-bio.md @@ -1,2 +1 @@ 1. Under "Short bio", type a brief description of yourself and your work. - ![Short bio field](/assets/images/help/sponsors/short-bio.png) diff --git a/data/reusables/sponsors/sponsor-account.md b/data/reusables/sponsors/sponsor-account.md index 0308b2b5b9..8ade7dd160 100644 --- a/data/reusables/sponsors/sponsor-account.md +++ b/data/reusables/sponsors/sponsor-account.md @@ -1,2 +1 @@ 1. Click **Sponsor ACCOUNT**. - ![Sponsor button](/assets/images/help/sponsors/sponsor-developer-button.png) diff --git a/data/reusables/sponsors/sponsorship-dashboard.md b/data/reusables/sponsors/sponsorship-dashboard.md index 1c974bc733..567e43d3d1 100644 --- a/data/reusables/sponsors/sponsorship-dashboard.md +++ b/data/reusables/sponsors/sponsorship-dashboard.md @@ -3,5 +3,4 @@ ![Screenshot of the sidebar of @octocat's profile page. A button, labeled with a heart icon and "Sponsoring", is outlined in dark orange.](/assets/images/help/profile/sponsoring-button.png) - If you're sponsoring an organization, to the right of the organization's name, click {% octicon "heart-fill" aria-label="" %} **Sponsoring**. -1. Optionally, to manage a sponsorship on behalf of an organization, on the right side of the page, use the **Sponsoring as** drop-down menu, and click the organization. - ![Drop-down menu to choose the account you're sponsoring as](/assets/images/help/sponsors/sponsoring-as-drop-down-menu.png) +1. Optionally, to manage a sponsorship on behalf of an organization, on the right side of the page, use the **Sponsoring as** dropdown menu, then click the organization. diff --git a/data/reusables/sponsors/tax-form-link.md b/data/reusables/sponsors/tax-form-link.md index 89bc3adfd6..9183e38da3 100644 --- a/data/reusables/sponsors/tax-form-link.md +++ b/data/reusables/sponsors/tax-form-link.md @@ -1,3 +1,5 @@ 1. Click **tax forms**. + ![Link to fill out a tax form](/assets/images/help/sponsors/tax-form-link.png) -2. Complete, sign, and submit the tax form. + +1. Complete, sign, and submit the tax form. diff --git a/data/reusables/sponsors/tier-price-description.md b/data/reusables/sponsors/tier-price-description.md index ac4dc0541b..3ea75422f3 100644 --- a/data/reusables/sponsors/tier-price-description.md +++ b/data/reusables/sponsors/tier-price-description.md @@ -1,2 +1 @@ 1. Type a price per month and description for the tier. - ![Tier price and description text fields](/assets/images/help/sponsors/tier-price-description.png) diff --git a/data/reusables/sponsors/tier-update.md b/data/reusables/sponsors/tier-update.md index c4c89f2aae..2bb383b799 100644 --- a/data/reusables/sponsors/tier-update.md +++ b/data/reusables/sponsors/tier-update.md @@ -1,2 +1 @@ -6. Proofread your tier, then click **Update**. - ![Update tier button](/assets/images/help/sponsors/update-tier-button.png) +1. Proofread your tier, then click **Update**. diff --git a/data/reusables/sponsors/update-sponsorship.md b/data/reusables/sponsors/update-sponsorship.md index 01df998067..358c6bdf52 100644 --- a/data/reusables/sponsors/update-sponsorship.md +++ b/data/reusables/sponsors/update-sponsorship.md @@ -1,2 +1 @@ 1. Click **Update sponsorship**. - ![Update sponsorship button](/assets/images/help/sponsors/update-sponsorship-button.png) diff --git a/data/reusables/sponsors/webhook-content-formatting.md b/data/reusables/sponsors/webhook-content-formatting.md index 93855d5160..ad87e5f331 100644 --- a/data/reusables/sponsors/webhook-content-formatting.md +++ b/data/reusables/sponsors/webhook-content-formatting.md @@ -1,2 +1 @@ -4. Under "Content type", select which data format you’d like to receive. For more information, see "[AUTOTITLE](/webhooks-and-events/webhooks/creating-webhooks#content-type)" - ![Menu for webhook formatting](/assets/images/help/sponsors/webhook-content-menu.png) +1. Under "Content type", use the dropdown menu to select which data format you’d like to receive. For more information, see "[AUTOTITLE](/webhooks-and-events/webhooks/creating-webhooks#content-type)." diff --git a/data/reusables/sponsors/webhook-secret-token.md b/data/reusables/sponsors/webhook-secret-token.md index 5ea3c9e726..d1c5adeda4 100644 --- a/data/reusables/sponsors/webhook-secret-token.md +++ b/data/reusables/sponsors/webhook-secret-token.md @@ -1,2 +1 @@ -5. Type a secret token. For more information, see "[AUTOTITLE](/webhooks-and-events/webhooks/securing-your-webhooks#securing-your-secret-token)." - ![Fields for secret token and other customization options](/assets/images/help/sponsors/webhook-secret-token.png) +1. Type a secret token. For more information, see "[AUTOTITLE](/webhooks-and-events/webhooks/securing-your-webhooks#securing-your-secret-token)." diff --git a/data/reusables/sponsors/write-sponsor-update.md b/data/reusables/sponsors/write-sponsor-update.md deleted file mode 100644 index d6bcaac653..0000000000 --- a/data/reusables/sponsors/write-sponsor-update.md +++ /dev/null @@ -1,2 +0,0 @@ -6. Type a subject and message for your update. - ![Subject and body fields](/assets/images/help/sponsors/subject-body-update.png) diff --git a/data/reusables/sponsors/your-sponsors-tab.md b/data/reusables/sponsors/your-sponsors-tab.md index 4920e9613c..ff030997b3 100644 --- a/data/reusables/sponsors/your-sponsors-tab.md +++ b/data/reusables/sponsors/your-sponsors-tab.md @@ -1,2 +1,3 @@ 1. In the left sidebar, click **Your sponsors**. - ![Your sponsors tab](/assets/images/help/sponsors/your-sponsors-tab.png) + + ![Screenshot of the {% data variables.product.prodname_sponsors %} dashboard. A tab in the "Manage" section, labeled "Your sponsors", is outlined in dark orange.](/assets/images/help/sponsors/your-sponsors-tab.png) diff --git a/data/reusables/user-settings/access_authorized_github_apps.md b/data/reusables/user-settings/access_authorized_github_apps.md new file mode 100644 index 0000000000..7d69edd8ea --- /dev/null +++ b/data/reusables/user-settings/access_authorized_github_apps.md @@ -0,0 +1 @@ +1. Click the **Authorized {% data variables.product.prodname_github_apps %}** tab. \ No newline at end of file diff --git a/lib/render-content/create-processor.js b/lib/render-content/create-processor.js index b880fd1a82..7b118aa544 100644 --- a/lib/render-content/create-processor.js +++ b/lib/render-content/create-processor.js @@ -29,12 +29,25 @@ import doctocatLinkIcon from './doctocat-link-icon.js' // see https://github.com/unifiedjs/unified/issues/79 const wrapperForImages = () => wrapInElement({ selector: 'ol > li img', wrapper: 'span.procedural-image-wrapper' }) -const wrapperForTables = () => +const wrapperForRowheadersThead = () => + wrapInElement({ + selector: '.rowheaders thead th', + wrapper: 'th', + // This moves what it finds in the selector inside the wrapper. + rewrite: true, + wrapperAdditionalAttributes: { + scope: 'col', + }, + }) +const wrapperForRowheadersTbody = () => wrapInElement({ selector: '.rowheaders tbody tr td:first-child', wrapper: 'th', // This moves what it finds in the selector inside the wrapper. rewrite: true, + wrapperAdditionalAttributes: { + scope: 'row', + }, }) export default function createProcessor(context) { @@ -57,7 +70,8 @@ export default function createProcessor(context) { }) .use(raw) .use(wrapperForImages) - .use(wrapperForTables) + .use(wrapperForRowheadersThead) + .use(wrapperForRowheadersTbody) .use(rewriteImgSources) .use(rewriteAssetImgTags) .use(rewriteLocalLinks, context) diff --git a/lib/render-content/plugins/wrap-in-element.js b/lib/render-content/plugins/wrap-in-element.js index 1989bf93ec..3fc7bc4399 100644 --- a/lib/render-content/plugins/wrap-in-element.js +++ b/lib/render-content/plugins/wrap-in-element.js @@ -9,6 +9,7 @@ export default (options) => { const selector = options.selector || options.select || 'body' const wrapper = options.wrapper || options.wrap const rewrite = options.rewrite + const additionalAttributes = options.wrapperAdditionalAttributes /* * Transformer @@ -25,6 +26,13 @@ export default (options) => { for (const match of selectAll(selector, tree)) { visit(tree, match, (node, i, parent) => { const parsedWrapper = parseSelector(wrapper) + if (additionalAttributes) { + parsedWrapper.properties = Object.assign( + {}, + parsedWrapper.properties || {}, + additionalAttributes + ) + } if (rewrite) { parsedWrapper.children = node.children } else { diff --git a/middleware/archived-enterprise-versions.js b/middleware/archived-enterprise-versions.js index cf2ff340c1..3cf1ed1888 100644 --- a/middleware/archived-enterprise-versions.js +++ b/middleware/archived-enterprise-versions.js @@ -16,6 +16,7 @@ import { readCompressedJsonFileFallbackLazily } from '../lib/read-json-file.js' import { archivedCacheControl, languageCacheControl } from './cache-control.js' import { pathLanguagePrefixed, languagePrefixPathRegex } from '../lib/languages.js' import getRedirect, { splitPathByLanguage } from '../lib/get-redirect.js' +import getRemoteJSON from './get-remote-json.js' const REMOTE_ENTERPRISE_STORAGE_URL = 'https://githubdocs.azureedge.net/enterprise' @@ -75,29 +76,6 @@ const retryConfiguration = { limit: 3 } // unnecessary error reporting. const timeoutConfiguration = { response: 1500 } -async function getRemoteJSON(url, config) { - let fromCache = true - if (!_getRemoteJSONCache.has(url)) { - fromCache = false - // got will, by default, follow redirects and it will throw if the ultimate - // response is not a 2xx. - // But it's possible that the page is a 200 OK but it's just not a JSON - // page at all. Then we can't assume we can deserialize it. - const res = await got(url, config) - if (!res.headers['content-type'].startsWith('application/json')) { - throw new Error( - `Fetching '${url}' resulted in a non-JSON response (${res.headers['content-type']})` - ) - } - - _getRemoteJSONCache.set(url, JSON.parse(res.body)) - } - const tags = [`url:${url}`, `from_cache:${fromCache}`] - statsd.increment('middleware.archived_get_remote_json', 1, tags) - return _getRemoteJSONCache.get(url) -} -const _getRemoteJSONCache = new Map() - // This module handles requests for deprecated GitHub Enterprise versions // by routing them to static content in help-docs-archived-enterprise-versions diff --git a/middleware/get-remote-json.js b/middleware/get-remote-json.js new file mode 100644 index 0000000000..e0ea61b19e --- /dev/null +++ b/middleware/get-remote-json.js @@ -0,0 +1,87 @@ +import path from 'path' +import fs from 'fs' +import crypto from 'crypto' + +import got from 'got' +import statsd from '../lib/statsd.js' + +// The only reason this is exported is for the sake of the unit tests' +// ability to test in-memory miss after purging this with a mutation +export const cache = new Map() + +const inProd = process.env.NODE_ENV === 'production' + +// Wrapper on `got()` that is able to both cache in memory and on disk. +// The on-disk caching is in `.remotejson/`. +// We use this for downloading `redirects.json` files from the +// help-docs-archived-enterprise-versions repo as a proxy. A lot of those +// .json files are large and they're also static which makes them +// ideal for caching. +// Note that there's 2 layers of caching here: +// 1. Is it in memory cache? +// 2. No, is it on disk? +// 3. No, download from the internet then store responses in memory and disk +export default async function getRemoteJSON(url, config) { + // We could get fancy and make the cache key depend on the `config` too + // given that this is A) only used for archived enterprise stuff, + // and B) the config is only applicable on cache miss when doing the `got()`. + const cacheKey = url + + // Assume it's in the in-memory cache first. + // Later we'll update this if we find we need to. + let fromCache = 'memory' + + if (!cache.has(cacheKey)) { + fromCache = 'not' + + let foundOnDisk = false + const tempFilename = crypto.createHash('md5').update(url).digest('hex') + + // Do this here instead of at the top of the file so that it becomes + // possible to override this in unit tests. + const ROOT = process.env.GET_REMOTE_JSON_DISK_CACHE_ROOT || '.remotejson-cache' + + const onDisk = path.join(ROOT, `${tempFilename}.json`) + // Never even try reading from disk in production. + if (!inProd && fs.existsSync(onDisk)) { + const body = fs.readFileSync(onDisk, 'utf-8') + // It might exist on disk, but it could be empty + if (body) { + try { + // It might be corrupted JSON. + cache.set(cacheKey, JSON.parse(body)) + fromCache = 'disk' + foundOnDisk = true + } catch (error) { + if (!(error instanceof SyntaxError)) { + throw error + } + } + } + } + + if (!foundOnDisk) { + // got will, by default, follow redirects and it will throw if the ultimate + // response is not a 2xx. + // But it's possible that the page is a 200 OK but it's just not a JSON + // page at all. Then we can't assume we can deserialize it. + const res = await got(url, config) + if (!res.headers['content-type'].startsWith('application/json')) { + throw new Error( + `Fetching '${url}' resulted in a non-JSON response (${res.headers['content-type']})` + ) + } + cache.set(cacheKey, JSON.parse(res.body)) + + // Only write to disk for testing and local preview. + // In production, we never write to disk. Only in-memory. + if (!inProd) { + fs.mkdirSync(path.dirname(onDisk), { recursive: true }) + fs.writeFileSync(onDisk, res.body, 'utf-8') + } + } + } + const tags = [`url:${url}`, `from_cache:${fromCache}`] + statsd.increment('middleware.get_remote_json', 1, tags) + return cache.get(cacheKey) +} diff --git a/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json b/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json index 33c15e8417..d91eeffe8c 100644 --- a/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json @@ -2346,6 +2346,12 @@ "verb": "patch", "requestPath": "/orgs/{org}" }, + { + "slug": "delete-an-organization", + "subcategory": "orgs", + "verb": "delete", + "requestPath": "/orgs/{org}" + }, { "slug": "list-users-blocked-by-an-organization", "subcategory": "blocking", diff --git a/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json b/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json index 65608880ef..9c453440f3 100644 --- a/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json @@ -2458,6 +2458,12 @@ "verb": "patch", "requestPath": "/orgs/{org}" }, + { + "slug": "delete-an-organization", + "subcategory": "orgs", + "verb": "delete", + "requestPath": "/orgs/{org}" + }, { "slug": "get-the-audit-log-for-an-organization", "subcategory": "orgs", diff --git a/src/github-apps/lib/config.json b/src/github-apps/lib/config.json index fd6e177549..ad22e35bf1 100644 --- a/src/github-apps/lib/config.json +++ b/src/github-apps/lib/config.json @@ -1,3 +1,3 @@ { - "sha": "4aac28959ee19a97c78a7c6ac92b1a5dd0fa325c" + "sha": "05d63e60a5b980d9c08449e6f876d6a28a320fe4" } \ No newline at end of file diff --git a/src/rest/data/client-side-rest-api-redirects.json b/src/rest/data/client-side-rest-api-redirects.json index 7e4b71f1c6..08b405dfca 100644 --- a/src/rest/data/client-side-rest-api-redirects.json +++ b/src/rest/data/client-side-rest-api-redirects.json @@ -243,6 +243,7 @@ "/rest/orgs/orgs#list-repositories-a-fine-grained-personal-access-token-has-access-to": "/rest/orgs/orgs#list-repositories-a-fine-grained-personal-access-token-has-access-to", "/rest/orgs#get-an-organization": "/rest/orgs/orgs#get-an-organization", "/rest/orgs#update-an-organization": "/rest/orgs/orgs#update-an-organization", + "/rest/orgs/orgs/#delete-an-organization": "/rest/orgs/orgs#delete-an-organization", "/rest/actions#get-github-actions-cache-usage-for-an-organization": "/rest/actions/cache#get-github-actions-cache-usage-for-an-organization", "/rest/actions#cache": "/rest/actions/cache", "/rest/actions#list-repositories-with-github-actions-cache-usage-for-an-organization": "/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization", diff --git a/src/rest/data/fpt-2022-11-28/schema.json b/src/rest/data/fpt-2022-11-28/schema.json index 6dbe367902..1fee056c2f 100644 --- a/src/rest/data/fpt-2022-11-28/schema.json +++ b/src/rest/data/fpt-2022-11-28/schema.json @@ -112439,7 +112439,7 @@ }, { "name": "sort", - "description": "

The property to sort the results by. created means when the repository was starred. updated means when the repository was last pushed to.

", + "description": "

The property to sort the results by.

", "in": "query", "required": false, "schema": { @@ -113534,7 +113534,7 @@ }, { "name": "sort", - "description": "

The property to sort the results by. created means when the repository was starred. updated means when the repository was last pushed to.

", + "description": "

The property to sort the results by.

", "in": "query", "required": false, "schema": { @@ -157209,7 +157209,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", "in": "query", "required": false, "schema": { @@ -157218,7 +157218,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", "in": "query", "required": false, "schema": { @@ -223217,7 +223217,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", "in": "query", "required": false, "schema": { @@ -223226,7 +223226,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", "in": "query", "required": false, "schema": { @@ -224964,7 +224964,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", "in": "query", "required": false, "schema": { @@ -224973,7 +224973,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", "in": "query", "required": false, "schema": { @@ -226752,7 +226752,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", "in": "query", "required": false, "schema": { @@ -226761,7 +226761,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", "in": "query", "required": false, "schema": { @@ -291299,7 +291299,7 @@ }, { "name": "sort", - "description": "

The property to sort the results by. created means when the repository was starred. updated means when the repository was last pushed to.

", + "description": "

The property to sort the results by.

", "in": "query", "required": false, "schema": { @@ -354159,7 +354159,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all organizations, in the order that they were created on GitHub.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of organizations.

", + "descriptionHTML": "

Lists all organizations, in the order that they were created on GitHub.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of organizations.

", "statusCodes": [ { "httpStatusCode": "200", @@ -358743,6 +358743,64 @@ } ] }, + { + "serverUrl": "https://api.github.com", + "verb": "delete", + "requestPath": "/orgs/{org}", + "title": "Delete an organization", + "category": "orgs", + "subcategory": "orgs", + "parameters": [ + { + "name": "org", + "description": "

The organization name. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [], + "enabledForGitHubApps": true, + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "org": "ORG" + } + }, + "response": { + "statusCode": "202", + "contentType": "application/json", + "description": "

Accepted

", + "example": null, + "schema": { + "type": "object" + } + } + } + ], + "previews": [], + "descriptionHTML": "

Deletes an organization and all its repositories.

\n

The organization login will be unavailable for 90 days after deletion.

\n

Please review the Terms of Service regarding account deletion before using this endpoint:

\n

https://docs.github.com/site-policy/github-terms/github-terms-of-service

", + "statusCodes": [ + { + "httpStatusCode": "202", + "description": "

Accepted

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "404", + "description": "

Resource not found

" + } + ] + }, { "serverUrl": "https://api.github.com", "verb": "get", @@ -410695,7 +410753,7 @@ }, { "name": "sort", - "description": "

The property to sort the results by. created means when the repository was starred. updated means when the repository was last pushed to.

", + "description": "

The property to sort the results by.

", "in": "query", "required": false, "schema": { @@ -464145,7 +464203,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all public repositories in the order that they were created.

\n

Note:

\n
    \n
  • For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.
  • \n
  • Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of repositories.
  • \n
", + "descriptionHTML": "

Lists all public repositories in the order that they were created.

\n

Note:

\n
    \n
  • For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.
  • \n
  • Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of repositories.
  • \n
", "statusCodes": [ { "httpStatusCode": "200", @@ -488294,7 +488352,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", "in": "query", "required": false, "schema": { @@ -488303,7 +488361,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", "in": "query", "required": false, "schema": { @@ -489645,7 +489703,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.

", "in": "query", "required": false, "schema": { @@ -489654,7 +489712,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty \"after\" query string.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty \"after\" query string.

", "in": "query", "required": false, "schema": { @@ -491005,7 +491063,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.

", "in": "query", "required": false, "schema": { @@ -491014,7 +491072,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty \"after\" query string.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty \"after\" query string.

", "in": "query", "required": false, "schema": { @@ -520972,7 +521030,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all users, in the order that they signed up on GitHub. This list includes personal user accounts and organization accounts.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of users.

", + "descriptionHTML": "

Lists all users, in the order that they signed up on GitHub. This list includes personal user accounts and organization accounts.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of users.

", "statusCodes": [ { "httpStatusCode": "200", diff --git a/src/rest/data/ghae/schema.json b/src/rest/data/ghae/schema.json index 3f9fea63b9..1aa383730d 100644 --- a/src/rest/data/ghae/schema.json +++ b/src/rest/data/ghae/schema.json @@ -110631,7 +110631,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", "in": "query", "required": false, "schema": { @@ -110640,7 +110640,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", "in": "query", "required": false, "schema": { @@ -146666,7 +146666,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.

", "in": "query", "required": false, "schema": { @@ -146675,7 +146675,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.

", "in": "query", "required": false, "schema": { @@ -199240,7 +199240,7 @@ }, { "name": "sort", - "description": "

The property to sort the results by. created means when the repository was starred. updated means when the repository was last pushed to.

", + "description": "

The property to sort the results by.

", "in": "query", "required": false, "schema": { @@ -256253,7 +256253,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all organizations, in the order that they were created on GitHub AE.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of organizations.

", + "descriptionHTML": "

Lists all organizations, in the order that they were created on GitHub AE.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of organizations.

", "statusCodes": [ { "httpStatusCode": "200", @@ -257579,7 +257579,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.

", "in": "query", "required": false, "schema": { @@ -257588,7 +257588,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.

", "in": "query", "required": false, "schema": { @@ -293211,7 +293211,7 @@ }, { "name": "sort", - "description": "

The property to sort the results by. created means when the repository was starred. updated means when the repository was last pushed to.

", + "description": "

The property to sort the results by.

", "in": "query", "required": false, "schema": { @@ -365786,7 +365786,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", "in": "query", "required": false, "schema": { @@ -365795,7 +365795,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", "in": "query", "required": false, "schema": { @@ -396128,7 +396128,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all users, in the order that they signed up on GitHub AE. This list includes personal user accounts and organization accounts.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of users.

", + "descriptionHTML": "

Lists all users, in the order that they signed up on GitHub AE. This list includes personal user accounts and organization accounts.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of users.

", "statusCodes": [ { "httpStatusCode": "200", diff --git a/src/rest/data/ghec-2022-11-28/schema.json b/src/rest/data/ghec-2022-11-28/schema.json index 934c27ec8b..fba8901ec2 100644 --- a/src/rest/data/ghec-2022-11-28/schema.json +++ b/src/rest/data/ghec-2022-11-28/schema.json @@ -122305,7 +122305,7 @@ }, { "name": "sort", - "description": "

The property to sort the results by. created means when the repository was starred. updated means when the repository was last pushed to.

", + "description": "

The property to sort the results by.

", "in": "query", "required": false, "schema": { @@ -123400,7 +123400,7 @@ }, { "name": "sort", - "description": "

The property to sort the results by. created means when the repository was starred. updated means when the repository was last pushed to.

", + "description": "

The property to sort the results by.

", "in": "query", "required": false, "schema": { @@ -167239,7 +167239,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", "in": "query", "required": false, "schema": { @@ -167248,7 +167248,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", "in": "query", "required": false, "schema": { @@ -168644,7 +168644,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", "in": "query", "required": false, "schema": { @@ -168653,7 +168653,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", "in": "query", "required": false, "schema": { @@ -234652,7 +234652,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", "in": "query", "required": false, "schema": { @@ -234661,7 +234661,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", "in": "query", "required": false, "schema": { @@ -236399,7 +236399,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", "in": "query", "required": false, "schema": { @@ -236408,7 +236408,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", "in": "query", "required": false, "schema": { @@ -238187,7 +238187,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", "in": "query", "required": false, "schema": { @@ -238196,7 +238196,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", "in": "query", "required": false, "schema": { @@ -253709,7 +253709,7 @@ }, { "name": "date_start", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.

", "in": "query", "required": false, "schema": { @@ -253718,7 +253718,7 @@ }, { "name": "date_end", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.

", "in": "query", "required": false, "schema": { @@ -254076,7 +254076,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.

", "in": "query", "required": false, "schema": { @@ -254085,7 +254085,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.

", "in": "query", "required": false, "schema": { @@ -304486,7 +304486,7 @@ }, { "name": "sort", - "description": "

The property to sort the results by. created means when the repository was starred. updated means when the repository was last pushed to.

", + "description": "

The property to sort the results by.

", "in": "query", "required": false, "schema": { @@ -367346,7 +367346,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all organizations, in the order that they were created on GitHub Enterprise Cloud.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of organizations.

", + "descriptionHTML": "

Lists all organizations, in the order that they were created on GitHub Enterprise Cloud.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of organizations.

", "statusCodes": [ { "httpStatusCode": "200", @@ -371930,6 +371930,64 @@ } ] }, + { + "serverUrl": "https://api.github.com", + "verb": "delete", + "requestPath": "/orgs/{org}", + "title": "Delete an organization", + "category": "orgs", + "subcategory": "orgs", + "parameters": [ + { + "name": "org", + "description": "

The organization name. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [], + "enabledForGitHubApps": true, + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "org": "ORG" + } + }, + "response": { + "statusCode": "202", + "contentType": "application/json", + "description": "

Accepted

", + "example": null, + "schema": { + "type": "object" + } + } + } + ], + "previews": [], + "descriptionHTML": "

Deletes an organization and all its repositories.

\n

The organization login will be unavailable for 90 days after deletion.

\n

Please review the Terms of Service regarding account deletion before using this endpoint:

\n

https://docs.github.com/enterprise-cloud@latest//site-policy/github-terms/github-terms-of-service

", + "statusCodes": [ + { + "httpStatusCode": "202", + "description": "

Accepted

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "404", + "description": "

Resource not found

" + } + ] + }, { "serverUrl": "https://api.github.com", "verb": "get", @@ -371972,7 +372030,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.

", "in": "query", "required": false, "schema": { @@ -371981,7 +372039,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.

", "in": "query", "required": false, "schema": { @@ -427415,7 +427473,7 @@ }, { "name": "sort", - "description": "

The property to sort the results by. created means when the repository was starred. updated means when the repository was last pushed to.

", + "description": "

The property to sort the results by.

", "in": "query", "required": false, "schema": { @@ -480823,7 +480881,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all public repositories in the order that they were created.

\n

Note:

\n
    \n
  • For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.
  • \n
  • Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of repositories.
  • \n
", + "descriptionHTML": "

Lists all public repositories in the order that they were created.

\n

Note:

\n
    \n
  • For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.
  • \n
  • Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of repositories.
  • \n
", "statusCodes": [ { "httpStatusCode": "200", @@ -507458,7 +507516,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", "in": "query", "required": false, "schema": { @@ -507467,7 +507525,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", "in": "query", "required": false, "schema": { @@ -508809,7 +508867,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.

", "in": "query", "required": false, "schema": { @@ -508818,7 +508876,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty \"after\" query string.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty \"after\" query string.

", "in": "query", "required": false, "schema": { @@ -510169,7 +510227,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.

", "in": "query", "required": false, "schema": { @@ -510178,7 +510236,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty \"after\" query string.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty \"after\" query string.

", "in": "query", "required": false, "schema": { @@ -541704,7 +541762,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all users, in the order that they signed up on GitHub Enterprise Cloud. This list includes personal user accounts and organization accounts.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of users.

", + "descriptionHTML": "

Lists all users, in the order that they signed up on GitHub Enterprise Cloud. This list includes personal user accounts and organization accounts.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of users.

", "statusCodes": [ { "httpStatusCode": "200", diff --git a/src/rest/data/ghes-3.4/schema.json b/src/rest/data/ghes-3.4/schema.json index d112a7d423..181ca9cbda 100644 --- a/src/rest/data/ghes-3.4/schema.json +++ b/src/rest/data/ghes-3.4/schema.json @@ -174988,7 +174988,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.

", "in": "query", "required": false, "schema": { @@ -174997,7 +174997,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.

", "in": "query", "required": false, "schema": { @@ -231720,7 +231720,7 @@ }, { "name": "sort", - "description": "

The property to sort the results by. created means when the repository was starred. updated means when the repository was last pushed to.

", + "description": "

The property to sort the results by.

", "in": "query", "required": false, "schema": { @@ -296173,7 +296173,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all organizations, in the order that they were created on GitHub Enterprise Server.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of organizations.

", + "descriptionHTML": "

Lists all organizations, in the order that they were created on GitHub Enterprise Server.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of organizations.

", "statusCodes": [ { "httpStatusCode": "200", @@ -297308,7 +297308,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.

", "in": "query", "required": false, "schema": { @@ -297317,7 +297317,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.

", "in": "query", "required": false, "schema": { @@ -333431,7 +333431,7 @@ }, { "name": "sort", - "description": "

The property to sort the results by. created means when the repository was starred. updated means when the repository was last pushed to.

", + "description": "

The property to sort the results by.

", "in": "query", "required": false, "schema": { @@ -385099,7 +385099,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all public repositories in the order that they were created.

\n

Note:

\n
    \n
  • For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.
  • \n
  • Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of repositories.
  • \n
", + "descriptionHTML": "

Lists all public repositories in the order that they were created.

\n

Note:

\n
    \n
  • For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.
  • \n
  • Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of repositories.
  • \n
", "statusCodes": [ { "httpStatusCode": "200", @@ -408010,7 +408010,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", "in": "query", "required": false, "schema": { @@ -408019,7 +408019,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", "in": "query", "required": false, "schema": { @@ -438468,7 +438468,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of users.

", + "descriptionHTML": "

Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of users.

", "statusCodes": [ { "httpStatusCode": "200", diff --git a/src/rest/data/ghes-3.5/schema.json b/src/rest/data/ghes-3.5/schema.json index 5b8b501db8..2dee1d6e91 100644 --- a/src/rest/data/ghes-3.5/schema.json +++ b/src/rest/data/ghes-3.5/schema.json @@ -143996,7 +143996,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", "in": "query", "required": false, "schema": { @@ -144005,7 +144005,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", "in": "query", "required": false, "schema": { @@ -182146,7 +182146,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.

", "in": "query", "required": false, "schema": { @@ -182155,7 +182155,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.

", "in": "query", "required": false, "schema": { @@ -238878,7 +238878,7 @@ }, { "name": "sort", - "description": "

The property to sort the results by. created means when the repository was starred. updated means when the repository was last pushed to.

", + "description": "

The property to sort the results by.

", "in": "query", "required": false, "schema": { @@ -303343,7 +303343,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all organizations, in the order that they were created on GitHub Enterprise Server.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of organizations.

", + "descriptionHTML": "

Lists all organizations, in the order that they were created on GitHub Enterprise Server.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of organizations.

", "statusCodes": [ { "httpStatusCode": "200", @@ -304478,7 +304478,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.

", "in": "query", "required": false, "schema": { @@ -304487,7 +304487,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.

", "in": "query", "required": false, "schema": { @@ -340601,7 +340601,7 @@ }, { "name": "sort", - "description": "

The property to sort the results by. created means when the repository was starred. updated means when the repository was last pushed to.

", + "description": "

The property to sort the results by.

", "in": "query", "required": false, "schema": { @@ -392394,7 +392394,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all public repositories in the order that they were created.

\n

Note:

\n
    \n
  • For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.
  • \n
  • Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of repositories.
  • \n
", + "descriptionHTML": "

Lists all public repositories in the order that they were created.

\n

Note:

\n
    \n
  • For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.
  • \n
  • Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of repositories.
  • \n
", "statusCodes": [ { "httpStatusCode": "200", @@ -415636,7 +415636,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", "in": "query", "required": false, "schema": { @@ -415645,7 +415645,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", "in": "query", "required": false, "schema": { @@ -446144,7 +446144,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of users.

", + "descriptionHTML": "

Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of users.

", "statusCodes": [ { "httpStatusCode": "200", diff --git a/src/rest/data/ghes-3.6/schema.json b/src/rest/data/ghes-3.6/schema.json index 0002b1dc3b..71cd389509 100644 --- a/src/rest/data/ghes-3.6/schema.json +++ b/src/rest/data/ghes-3.6/schema.json @@ -146543,7 +146543,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", "in": "query", "required": false, "schema": { @@ -146552,7 +146552,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", "in": "query", "required": false, "schema": { @@ -185184,7 +185184,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.

", "in": "query", "required": false, "schema": { @@ -185193,7 +185193,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.

", "in": "query", "required": false, "schema": { @@ -247951,7 +247951,7 @@ }, { "name": "sort", - "description": "

The property to sort the results by. created means when the repository was starred. updated means when the repository was last pushed to.

", + "description": "

The property to sort the results by.

", "in": "query", "required": false, "schema": { @@ -313084,7 +313084,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all organizations, in the order that they were created on GitHub Enterprise Server.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of organizations.

", + "descriptionHTML": "

Lists all organizations, in the order that they were created on GitHub Enterprise Server.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of organizations.

", "statusCodes": [ { "httpStatusCode": "200", @@ -314240,7 +314240,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.

", "in": "query", "required": false, "schema": { @@ -314249,7 +314249,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.

", "in": "query", "required": false, "schema": { @@ -350545,7 +350545,7 @@ }, { "name": "sort", - "description": "

The property to sort the results by. created means when the repository was starred. updated means when the repository was last pushed to.

", + "description": "

The property to sort the results by.

", "in": "query", "required": false, "schema": { @@ -403465,7 +403465,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all public repositories in the order that they were created.

\n

Note:

\n
    \n
  • For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.
  • \n
  • Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of repositories.
  • \n
", + "descriptionHTML": "

Lists all public repositories in the order that they were created.

\n

Note:

\n
    \n
  • For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.
  • \n
  • Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of repositories.
  • \n
", "statusCodes": [ { "httpStatusCode": "200", @@ -427317,7 +427317,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", "in": "query", "required": false, "schema": { @@ -427326,7 +427326,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", "in": "query", "required": false, "schema": { @@ -459796,7 +459796,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of users.

", + "descriptionHTML": "

Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of users.

", "statusCodes": [ { "httpStatusCode": "200", diff --git a/src/rest/data/ghes-3.7/schema.json b/src/rest/data/ghes-3.7/schema.json index 5d2d6c0390..984bfb37ea 100644 --- a/src/rest/data/ghes-3.7/schema.json +++ b/src/rest/data/ghes-3.7/schema.json @@ -147529,7 +147529,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", "in": "query", "required": false, "schema": { @@ -147538,7 +147538,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", "in": "query", "required": false, "schema": { @@ -148934,7 +148934,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", "in": "query", "required": false, "schema": { @@ -148943,7 +148943,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", "in": "query", "required": false, "schema": { @@ -187993,7 +187993,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.

", "in": "query", "required": false, "schema": { @@ -188002,7 +188002,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.

", "in": "query", "required": false, "schema": { @@ -250852,7 +250852,7 @@ }, { "name": "sort", - "description": "

The property to sort the results by. created means when the repository was starred. updated means when the repository was last pushed to.

", + "description": "

The property to sort the results by.

", "in": "query", "required": false, "schema": { @@ -316055,7 +316055,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all organizations, in the order that they were created on GitHub Enterprise Server.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of organizations.

", + "descriptionHTML": "

Lists all organizations, in the order that they were created on GitHub Enterprise Server.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of organizations.

", "statusCodes": [ { "httpStatusCode": "200", @@ -317343,7 +317343,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.

", "in": "query", "required": false, "schema": { @@ -317352,7 +317352,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.

", "in": "query", "required": false, "schema": { @@ -354175,7 +354175,7 @@ }, { "name": "sort", - "description": "

The property to sort the results by. created means when the repository was starred. updated means when the repository was last pushed to.

", + "description": "

The property to sort the results by.

", "in": "query", "required": false, "schema": { @@ -407219,7 +407219,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all public repositories in the order that they were created.

\n

Note:

\n
    \n
  • For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.
  • \n
  • Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of repositories.
  • \n
", + "descriptionHTML": "

Lists all public repositories in the order that they were created.

\n

Note:

\n
    \n
  • For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.
  • \n
  • Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of repositories.
  • \n
", "statusCodes": [ { "httpStatusCode": "200", @@ -431179,7 +431179,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", "in": "query", "required": false, "schema": { @@ -431188,7 +431188,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", "in": "query", "required": false, "schema": { @@ -432521,7 +432521,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.

", "in": "query", "required": false, "schema": { @@ -432530,7 +432530,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty \"after\" query string.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty \"after\" query string.

", "in": "query", "required": false, "schema": { @@ -433872,7 +433872,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.

", "in": "query", "required": false, "schema": { @@ -433881,7 +433881,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty \"after\" query string.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty \"after\" query string.

", "in": "query", "required": false, "schema": { @@ -463716,7 +463716,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of users.

", + "descriptionHTML": "

Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of users.

", "statusCodes": [ { "httpStatusCode": "200", diff --git a/src/rest/data/ghes-3.8/schema.json b/src/rest/data/ghes-3.8/schema.json index 706889030e..eb3fd551cc 100644 --- a/src/rest/data/ghes-3.8/schema.json +++ b/src/rest/data/ghes-3.8/schema.json @@ -162818,7 +162818,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", "in": "query", "required": false, "schema": { @@ -162827,7 +162827,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", "in": "query", "required": false, "schema": { @@ -164223,7 +164223,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", "in": "query", "required": false, "schema": { @@ -164232,7 +164232,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", "in": "query", "required": false, "schema": { @@ -189820,7 +189820,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", "in": "query", "required": false, "schema": { @@ -189829,7 +189829,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", "in": "query", "required": false, "schema": { @@ -191567,7 +191567,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", "in": "query", "required": false, "schema": { @@ -191576,7 +191576,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", "in": "query", "required": false, "schema": { @@ -193355,7 +193355,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", "in": "query", "required": false, "schema": { @@ -193364,7 +193364,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", "in": "query", "required": false, "schema": { @@ -209949,7 +209949,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.

", "in": "query", "required": false, "schema": { @@ -209958,7 +209958,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.

", "in": "query", "required": false, "schema": { @@ -273083,7 +273083,7 @@ }, { "name": "sort", - "description": "

The property to sort the results by. created means when the repository was starred. updated means when the repository was last pushed to.

", + "description": "

The property to sort the results by.

", "in": "query", "required": false, "schema": { @@ -338524,7 +338524,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all organizations, in the order that they were created on GitHub Enterprise Server.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of organizations.

", + "descriptionHTML": "

Lists all organizations, in the order that they were created on GitHub Enterprise Server.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of organizations.

", "statusCodes": [ { "httpStatusCode": "200", @@ -339862,7 +339862,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.

", "in": "query", "required": false, "schema": { @@ -339871,7 +339871,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor.

", "in": "query", "required": false, "schema": { @@ -376716,7 +376716,7 @@ }, { "name": "sort", - "description": "

The property to sort the results by. created means when the repository was starred. updated means when the repository was last pushed to.

", + "description": "

The property to sort the results by.

", "in": "query", "required": false, "schema": { @@ -429927,7 +429927,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all public repositories in the order that they were created.

\n

Note:

\n
    \n
  • For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.
  • \n
  • Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of repositories.
  • \n
", + "descriptionHTML": "

Lists all public repositories in the order that they were created.

\n

Note:

\n
    \n
  • For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.
  • \n
  • Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of repositories.
  • \n
", "statusCodes": [ { "httpStatusCode": "200", @@ -454074,7 +454074,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

", "in": "query", "required": false, "schema": { @@ -454083,7 +454083,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

", "in": "query", "required": false, "schema": { @@ -455425,7 +455425,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.

", "in": "query", "required": false, "schema": { @@ -455434,7 +455434,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty \"after\" query string.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty \"after\" query string.

", "in": "query", "required": false, "schema": { @@ -456785,7 +456785,7 @@ }, { "name": "before", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.

", "in": "query", "required": false, "schema": { @@ -456794,7 +456794,7 @@ }, { "name": "after", - "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty \"after\" query string.

", + "description": "

A cursor, as given in the Link header. If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty \"after\" query string.

", "in": "query", "required": false, "schema": { @@ -486825,7 +486825,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of users.

", + "descriptionHTML": "

Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of users.

", "statusCodes": [ { "httpStatusCode": "200", diff --git a/src/rest/lib/config.json b/src/rest/lib/config.json index c4cb600caa..c66964f878 100644 --- a/src/rest/lib/config.json +++ b/src/rest/lib/config.json @@ -21,5 +21,5 @@ "allowTitleToDifferFromFilename": true }, "targetDirectory": "content/rest", - "sha": "4aac28959ee19a97c78a7c6ac92b1a5dd0fa325c" + "sha": "05d63e60a5b980d9c08449e6f876d6a28a320fe4" } \ No newline at end of file diff --git a/src/webhooks/data/ghes-3.7/schema.json b/src/webhooks/data/ghes-3.7/schema.json index 0ea9722b6a..b0a9d70c11 100644 --- a/src/webhooks/data/ghes-3.7/schema.json +++ b/src/webhooks/data/ghes-3.7/schema.json @@ -74753,2109 +74753,6 @@ "category": "project_column" } }, - "projects_v2": { - "closed": { - "descriptionHtml": "

A project in the organization was closed.

", - "summaryHtml": "

This event occurs when there is activity relating to an organization-level project. For more information, see \"About Projects.\" For information about the Projects API, see the GraphQL documentation.

\n

For activity relating to a item on a project, use the projects_v2_item event. For activity relating to Projects (classic), use the project, project_card, and project_column` events instead.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.

\n

Note: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the Projects webhook feedback discussion.

", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "description": "", - "isRequired": true, - "enum": [ - "closed" - ], - "childParamsGroups": [] - }, - { - "type": "object", - "name": "organization", - "in": "body", - "description": "

A GitHub organization.

", - "isRequired": true, - "childParamsGroups": [] - }, - { - "type": "object", - "name": "projects_v2", - "in": "body", - "description": "

A projects v2 project

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "number", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "object", - "name": "owner", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at", - "description": "" - } - ] - }, - { - "type": "object", - "name": "creator", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at", - "description": "" - } - ] - }, - { - "type": "string", - "name": "title", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "public", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "closed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "short_description", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "deleted_at", - "description": "", - "isRequired": true - }, - { - "type": "object", - "name": "deleted_by", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at", - "description": "" - } - ] - } - ] - }, - { - "type": "object", - "name": "sender", - "in": "body", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [] - } - ], - "availability": [ - "organization" - ], - "action": "closed", - "category": "projects_v2" - }, - "created": { - "descriptionHtml": "

A project in the organization was created.

", - "summaryHtml": "

This event occurs when there is activity relating to an organization-level project. For more information, see \"About Projects.\" For information about the Projects API, see the GraphQL documentation.

\n

For activity relating to a item on a project, use the projects_v2_item event. For activity relating to Projects (classic), use the project, project_card, and project_column` events instead.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.

\n

Note: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the Projects webhook feedback discussion.

", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "description": "", - "isRequired": true, - "enum": [ - "created" - ], - "childParamsGroups": [] - }, - { - "type": "object", - "name": "organization", - "in": "body", - "description": "

A GitHub organization.

", - "isRequired": true, - "childParamsGroups": [] - }, - { - "type": "object", - "name": "projects_v2", - "in": "body", - "description": "

A projects v2 project

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "number", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "object", - "name": "owner", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at", - "description": "" - } - ] - }, - { - "type": "object", - "name": "creator", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at", - "description": "" - } - ] - }, - { - "type": "string", - "name": "title", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "public", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "closed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "short_description", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "deleted_at", - "description": "", - "isRequired": true - }, - { - "type": "object", - "name": "deleted_by", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at", - "description": "" - } - ] - } - ] - }, - { - "type": "object", - "name": "sender", - "in": "body", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [] - } - ], - "availability": [ - "organization" - ], - "action": "created", - "category": "projects_v2" - }, - "edited": { - "descriptionHtml": "

The title, description, or README of a project in the organization was changed.

", - "summaryHtml": "

This event occurs when there is activity relating to an organization-level project. For more information, see \"About Projects.\" For information about the Projects API, see the GraphQL documentation.

\n

For activity relating to a item on a project, use the projects_v2_item event. For activity relating to Projects (classic), use the project, project_card, and project_column` events instead.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.

\n

Note: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the Projects webhook feedback discussion.

", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "description": "", - "isRequired": true, - "enum": [ - "edited" - ], - "childParamsGroups": [] - }, - { - "type": "object", - "name": "changes", - "in": "body", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "description", - "description": "", - "childParamsGroups": [ - { - "type": "string or null", - "name": "from", - "description": "" - }, - { - "type": "string or null", - "name": "to", - "description": "" - } - ] - }, - { - "type": "object", - "name": "public", - "description": "", - "childParamsGroups": [ - { - "type": "boolean", - "name": "from", - "description": "" - }, - { - "type": "boolean", - "name": "to", - "description": "" - } - ] - }, - { - "type": "object", - "name": "short_description", - "description": "", - "childParamsGroups": [ - { - "type": "string or null", - "name": "from", - "description": "" - }, - { - "type": "string or null", - "name": "to", - "description": "" - } - ] - }, - { - "type": "object", - "name": "title", - "description": "", - "childParamsGroups": [ - { - "type": "string", - "name": "from", - "description": "" - }, - { - "type": "string", - "name": "to", - "description": "" - } - ] - } - ] - }, - { - "type": "object", - "name": "organization", - "in": "body", - "description": "

A GitHub organization.

", - "isRequired": true, - "childParamsGroups": [] - }, - { - "type": "object", - "name": "projects_v2", - "in": "body", - "description": "

A projects v2 project

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "number", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "object", - "name": "owner", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at", - "description": "" - } - ] - }, - { - "type": "object", - "name": "creator", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at", - "description": "" - } - ] - }, - { - "type": "string", - "name": "title", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "public", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "closed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "short_description", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "deleted_at", - "description": "", - "isRequired": true - }, - { - "type": "object", - "name": "deleted_by", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at", - "description": "" - } - ] - } - ] - }, - { - "type": "object", - "name": "sender", - "in": "body", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [] - } - ], - "availability": [ - "organization" - ], - "action": "edited", - "category": "projects_v2" - }, - "reopened": { - "descriptionHtml": "

A project in the organization was reopened.

", - "summaryHtml": "

This event occurs when there is activity relating to an organization-level project. For more information, see \"About Projects.\" For information about the Projects API, see the GraphQL documentation.

\n

For activity relating to a item on a project, use the projects_v2_item event. For activity relating to Projects (classic), use the project, project_card, and project_column` events instead.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.

\n

Note: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the Projects webhook feedback discussion.

", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "description": "", - "isRequired": true, - "enum": [ - "reopened" - ], - "childParamsGroups": [] - }, - { - "type": "object", - "name": "organization", - "in": "body", - "description": "

A GitHub organization.

", - "isRequired": true, - "childParamsGroups": [] - }, - { - "type": "object", - "name": "projects_v2", - "in": "body", - "description": "

A projects v2 project

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "number", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "object", - "name": "owner", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at", - "description": "" - } - ] - }, - { - "type": "object", - "name": "creator", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at", - "description": "" - } - ] - }, - { - "type": "string", - "name": "title", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "public", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "closed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "short_description", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "deleted_at", - "description": "", - "isRequired": true - }, - { - "type": "object", - "name": "deleted_by", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at", - "description": "" - } - ] - } - ] - }, - { - "type": "object", - "name": "sender", - "in": "body", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [] - } - ], - "availability": [ - "organization" - ], - "action": "reopened", - "category": "projects_v2" - } - }, "projects_v2_item": { "archived": { "descriptionHtml": "

An item on an organization project was archived. For more information, see \"Archiving items from your project.\"

", diff --git a/src/webhooks/data/ghes-3.8/schema.json b/src/webhooks/data/ghes-3.8/schema.json index 009da2f437..b442d1c156 100644 --- a/src/webhooks/data/ghes-3.8/schema.json +++ b/src/webhooks/data/ghes-3.8/schema.json @@ -74973,2109 +74973,6 @@ "category": "project_column" } }, - "projects_v2": { - "closed": { - "descriptionHtml": "

A project in the organization was closed.

", - "summaryHtml": "

This event occurs when there is activity relating to an organization-level project. For more information, see \"About Projects.\" For information about the Projects API, see the GraphQL documentation.

\n

For activity relating to a item on a project, use the projects_v2_item event. For activity relating to Projects (classic), use the project, project_card, and project_column` events instead.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.

\n

Note: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the Projects webhook feedback discussion.

", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "description": "", - "isRequired": true, - "enum": [ - "closed" - ], - "childParamsGroups": [] - }, - { - "type": "object", - "name": "organization", - "in": "body", - "description": "

A GitHub organization.

", - "isRequired": true, - "childParamsGroups": [] - }, - { - "type": "object", - "name": "projects_v2", - "in": "body", - "description": "

A projects v2 project

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "number", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "object", - "name": "owner", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at", - "description": "" - } - ] - }, - { - "type": "object", - "name": "creator", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at", - "description": "" - } - ] - }, - { - "type": "string", - "name": "title", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "public", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "closed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "short_description", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "deleted_at", - "description": "", - "isRequired": true - }, - { - "type": "object", - "name": "deleted_by", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at", - "description": "" - } - ] - } - ] - }, - { - "type": "object", - "name": "sender", - "in": "body", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [] - } - ], - "availability": [ - "organization" - ], - "action": "closed", - "category": "projects_v2" - }, - "created": { - "descriptionHtml": "

A project in the organization was created.

", - "summaryHtml": "

This event occurs when there is activity relating to an organization-level project. For more information, see \"About Projects.\" For information about the Projects API, see the GraphQL documentation.

\n

For activity relating to a item on a project, use the projects_v2_item event. For activity relating to Projects (classic), use the project, project_card, and project_column` events instead.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.

\n

Note: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the Projects webhook feedback discussion.

", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "description": "", - "isRequired": true, - "enum": [ - "created" - ], - "childParamsGroups": [] - }, - { - "type": "object", - "name": "organization", - "in": "body", - "description": "

A GitHub organization.

", - "isRequired": true, - "childParamsGroups": [] - }, - { - "type": "object", - "name": "projects_v2", - "in": "body", - "description": "

A projects v2 project

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "number", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "object", - "name": "owner", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at", - "description": "" - } - ] - }, - { - "type": "object", - "name": "creator", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at", - "description": "" - } - ] - }, - { - "type": "string", - "name": "title", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "public", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "closed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "short_description", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "deleted_at", - "description": "", - "isRequired": true - }, - { - "type": "object", - "name": "deleted_by", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at", - "description": "" - } - ] - } - ] - }, - { - "type": "object", - "name": "sender", - "in": "body", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [] - } - ], - "availability": [ - "organization" - ], - "action": "created", - "category": "projects_v2" - }, - "edited": { - "descriptionHtml": "

The title, description, or README of a project in the organization was changed.

", - "summaryHtml": "

This event occurs when there is activity relating to an organization-level project. For more information, see \"About Projects.\" For information about the Projects API, see the GraphQL documentation.

\n

For activity relating to a item on a project, use the projects_v2_item event. For activity relating to Projects (classic), use the project, project_card, and project_column` events instead.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.

\n

Note: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the Projects webhook feedback discussion.

", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "description": "", - "isRequired": true, - "enum": [ - "edited" - ], - "childParamsGroups": [] - }, - { - "type": "object", - "name": "changes", - "in": "body", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "description", - "description": "", - "childParamsGroups": [ - { - "type": "string or null", - "name": "from", - "description": "" - }, - { - "type": "string or null", - "name": "to", - "description": "" - } - ] - }, - { - "type": "object", - "name": "public", - "description": "", - "childParamsGroups": [ - { - "type": "boolean", - "name": "from", - "description": "" - }, - { - "type": "boolean", - "name": "to", - "description": "" - } - ] - }, - { - "type": "object", - "name": "short_description", - "description": "", - "childParamsGroups": [ - { - "type": "string or null", - "name": "from", - "description": "" - }, - { - "type": "string or null", - "name": "to", - "description": "" - } - ] - }, - { - "type": "object", - "name": "title", - "description": "", - "childParamsGroups": [ - { - "type": "string", - "name": "from", - "description": "" - }, - { - "type": "string", - "name": "to", - "description": "" - } - ] - } - ] - }, - { - "type": "object", - "name": "organization", - "in": "body", - "description": "

A GitHub organization.

", - "isRequired": true, - "childParamsGroups": [] - }, - { - "type": "object", - "name": "projects_v2", - "in": "body", - "description": "

A projects v2 project

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "number", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "object", - "name": "owner", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at", - "description": "" - } - ] - }, - { - "type": "object", - "name": "creator", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at", - "description": "" - } - ] - }, - { - "type": "string", - "name": "title", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "public", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "closed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "short_description", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "deleted_at", - "description": "", - "isRequired": true - }, - { - "type": "object", - "name": "deleted_by", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at", - "description": "" - } - ] - } - ] - }, - { - "type": "object", - "name": "sender", - "in": "body", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [] - } - ], - "availability": [ - "organization" - ], - "action": "edited", - "category": "projects_v2" - }, - "reopened": { - "descriptionHtml": "

A project in the organization was reopened.

", - "summaryHtml": "

This event occurs when there is activity relating to an organization-level project. For more information, see \"About Projects.\" For information about the Projects API, see the GraphQL documentation.

\n

For activity relating to a item on a project, use the projects_v2_item event. For activity relating to Projects (classic), use the project, project_card, and project_column` events instead.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.

\n

Note: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the Projects webhook feedback discussion.

", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "description": "", - "isRequired": true, - "enum": [ - "reopened" - ], - "childParamsGroups": [] - }, - { - "type": "object", - "name": "organization", - "in": "body", - "description": "

A GitHub organization.

", - "isRequired": true, - "childParamsGroups": [] - }, - { - "type": "object", - "name": "projects_v2", - "in": "body", - "description": "

A projects v2 project

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "number", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "object", - "name": "owner", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at", - "description": "" - } - ] - }, - { - "type": "object", - "name": "creator", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at", - "description": "" - } - ] - }, - { - "type": "string", - "name": "title", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "public", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "closed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "short_description", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "deleted_at", - "description": "", - "isRequired": true - }, - { - "type": "object", - "name": "deleted_by", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at", - "description": "" - } - ] - } - ] - }, - { - "type": "object", - "name": "sender", - "in": "body", - "description": "

A GitHub user.

", - "isRequired": true, - "childParamsGroups": [] - } - ], - "availability": [ - "organization" - ], - "action": "reopened", - "category": "projects_v2" - } - }, "projects_v2_item": { "archived": { "descriptionHtml": "

An item on an organization project was archived. For more information, see \"Archiving items from your project.\"

", diff --git a/src/webhooks/lib/config.json b/src/webhooks/lib/config.json index fd6e177549..ad22e35bf1 100644 --- a/src/webhooks/lib/config.json +++ b/src/webhooks/lib/config.json @@ -1,3 +1,3 @@ { - "sha": "4aac28959ee19a97c78a7c6ac92b1a5dd0fa325c" + "sha": "05d63e60a5b980d9c08449e6f876d6a28a320fe4" } \ No newline at end of file diff --git a/tests/fixtures/content/get-started/liquid/index.md b/tests/fixtures/content/get-started/liquid/index.md index 2528de8614..e4b8565566 100644 --- a/tests/fixtures/content/get-started/liquid/index.md +++ b/tests/fixtures/content/get-started/liquid/index.md @@ -16,4 +16,5 @@ children: - /whitespace - /table-row-headers - /ifversion + - /links-with-liquid --- diff --git a/tests/fixtures/content/get-started/liquid/links-with-liquid.md b/tests/fixtures/content/get-started/liquid/links-with-liquid.md new file mode 100644 index 0000000000..26fe0ebbc4 --- /dev/null +++ b/tests/fixtures/content/get-started/liquid/links-with-liquid.md @@ -0,0 +1,16 @@ +--- +title: Links with Liquid +intro: When Liquid is used to generate a Markdown link +versions: + fpt: '*' + ghes: '*' + ghae: '*' + ghec: '*' +type: how_to +--- + +## Introduction + +You can see pricing and a full list of features for each product at <{% data variables.product.pricing_url %}>. + +Go to [Pricing]({% data variables.product.pricing_url %}) page. diff --git a/tests/rendering-fixtures/liquid.js b/tests/rendering-fixtures/liquid.js index 460ddd7b3f..ab4f353c59 100644 --- a/tests/rendering-fixtures/liquid.js +++ b/tests/rendering-fixtures/liquid.js @@ -1,3 +1,4 @@ +import { getDataByLanguage } from '../../lib/get-data.js' import { getDOM } from '../helpers/e2etest.js' describe('extended Markdown', () => { @@ -106,7 +107,7 @@ describe('extended Markdown', () => { expect($('tbody tr th', firstTable).length).toBe(2) expect($('tbody tr td', firstTable).length).toBe(2 * 3) - // The first table should have this structure: + // The second table should have this structure: // // table // tbody @@ -119,6 +120,23 @@ describe('extended Markdown', () => { const secondTable = tables.filter((i) => i === 1) expect($('tbody tr th', secondTable).length).toBe(0) expect($('tbody tr td', secondTable).length).toBe(3 * 4) + + // More specifically, the tags should have the appropriate + // `scope` attribute. + // See "Scope attribute should be used correctly on tables" + // https://dequeuniversity.com/rules/axe/4.1/scope-attr-valid?application=RuleDescription + $('thead th', firstTable).each((i, element) => { + expect($(element).attr('scope')).toBe('col') + }) + $('tbody th', firstTable).each((i, element) => { + expect($(element).attr('scope')).toBe('row') + }) + // The 5 here is the other `expect(...)` that happens before these + // two, just above, `expect(...)` inside the `.each(...)` loops. + let totalAssertions = 5 + totalAssertions += $('thead th', firstTable).length + totalAssertions += $('tbody th', firstTable).length + expect.assertions(totalAssertions) }) // tests for ifversion @@ -194,3 +212,21 @@ describe('extended Markdown', () => { } ) }) + +describe('misc Liquid', () => { + test('links with liquid from data', async () => { + const $ = await getDOM('/get-started/liquid/links-with-liquid') + // The URL comes from variables.product.pricing_url + const url = getDataByLanguage('variables.product.pricing_url', 'en') + if (!url) throw new Error('variable could not be found') + const links = $(`#article-contents a[href="${url}"]`) + expect(links.length).toBe(2) + const texts = links + .map((i, element) => { + return $(element).text() + }) + .get() + expect(texts[0]).toBe(url) + expect(texts[1]).toBe('Pricing') + }) +}) diff --git a/tests/rendering/server.js b/tests/rendering/server.js index 0a18591954..a9c53321d3 100644 --- a/tests/rendering/server.js +++ b/tests/rendering/server.js @@ -230,16 +230,6 @@ describe('server', () => { }) }) - test('renders Markdown links that have Liquid hrefs', async () => { - // example from markdown source: - // 1. Go to {{ site.data.variables.product.product_name }}'s [Pricing]({{ site.data.variables.dotcom_billing.plans_url }}) page. - const $ = await getDOM( - '/en/github/getting-started-with-github/signing-up-for-a-new-github-account' - ) - expect($.text()).toContain("Go to GitHub's Pricing page.") - expect($('a[href="https://github.com/pricing"]').first().text()).toBe('Pricing') - }) - test('renders liquid within liquid within liquid in body text', async () => { const $ = await getDOM('/en/github/administering-a-repository/enabling-required-status-checks') expect($('ol li').first().text().trim()).toBe( diff --git a/tests/unit/get-remote-json.js b/tests/unit/get-remote-json.js new file mode 100644 index 0000000000..5c2acb92dc --- /dev/null +++ b/tests/unit/get-remote-json.js @@ -0,0 +1,115 @@ +import fs from 'fs' +import path from 'path' +import os from 'os' + +import rimraf from 'rimraf' +import { expect, test, describe, beforeAll, afterAll } from '@jest/globals' +import nock from 'nock' +import getRemoteJSON, { cache } from '../../middleware/get-remote-json.js' + +/** + * + * These unit tests test that the in-memory cache works and when it's + * not a cache it, it can benefit from using the disk cache. + */ + +describe('getRemoteJSON', () => { + const envVarValueBefore = process.env.GET_REMOTE_JSON_DISK_CACHE_ROOT + const tempDir = path.join(os.tmpdir(), 'remotejson-test') + + beforeAll(() => { + process.env.GET_REMOTE_JSON_DISK_CACHE_ROOT = tempDir + }) + + afterAll(() => { + process.env.GET_REMOTE_JSON_DISK_CACHE_ROOT = envVarValueBefore + rimraf.sync(tempDir) + }) + + afterEach(() => { + nock.cleanAll() + }) + + test('simple in-memory caching', async () => { + const url = 'http://example.com/redirects.json' + const { origin, pathname } = new URL(url) + nock(origin).get(pathname).reply(200, { foo: 'bar' }) + const data = await getRemoteJSON(url, {}) + expect(data.foo).toBe('bar') + expect(cache.get(url)).toBeTruthy() + // Second time, despite not setting up a second nock(), will work + // because it can use memory now. + const data2 = await getRemoteJSON(url, {}) + expect(data2.foo).toBe('bar') + expect(cache.get(url)).toBeTruthy() + }) + + test('benefit from disk-based caching', async () => { + const url = 'http://example.com/cool.json' + const { origin, pathname } = new URL(url) + nock(origin).get(pathname).reply(200, { cool: true }) + const data = await getRemoteJSON(url, {}) + expect(data.cool).toBe(true) + expect(cache.get(url)).toBeTruthy() + cache.delete(url) + + // This time, the nock won't fail despite not using `.persist()`. + // That means it didn't need the network because it was able to + // use the disk cache. + const data2 = await getRemoteJSON(url, {}) + expect(data2.cool).toBe(true) + }) + + test('recover from disk corruption (empty)', async () => { + const tempTempDir = path.join(tempDir, 'empty-files') + process.env.GET_REMOTE_JSON_DISK_CACHE_ROOT = tempTempDir + const url = 'http://example.com/empty.json' + const { origin, pathname } = new URL(url) + nock(origin).get(pathname).reply(200, { cool: true }) + await getRemoteJSON(url, {}) + + // Make every file in the cache directory an empty file + for (const file of fs.readdirSync(tempTempDir)) { + fs.writeFileSync(path.join(tempTempDir, file), '') + } + + cache.delete(url) + // If we don't do this, nock will fail because a second network + // request became necessary. + nock(origin).get(pathname).reply(200, { cool: true }) + + const data = await getRemoteJSON(url, {}) + expect(data.cool).toBe(true) + }) + + test('recover from disk corruption (bad JSON)', async () => { + const tempTempDir = path.join(tempDir, 'corrupt-files') + process.env.GET_REMOTE_JSON_DISK_CACHE_ROOT = tempTempDir + const url = 'http://example.com/corrupt.json' + const { origin, pathname } = new URL(url) + nock(origin).get(pathname).reply(200, { cool: true }) + await getRemoteJSON(url, {}) + + // Make every file in the cache directory an empty file + for (const file of fs.readdirSync(tempTempDir)) { + fs.writeFileSync(path.join(tempTempDir, file), '{"not:JSON{') + } + + cache.delete(url) + // If we don't do this, nock will fail because a second network + // request became necessary. + nock(origin).get(pathname).reply(200, { cool: true }) + + const data = await getRemoteJSON(url, {}) + expect(data.cool).toBe(true) + }) + + test('not-actually JSON despite URL', async () => { + const url = 'http://example.com/might-look-like.json' + const { origin, pathname } = new URL(url) + nock(origin).get(pathname).reply(200, 'here', { + 'Content-Type': 'text/html', + }) + await expect(getRemoteJSON(url, {})).rejects.toThrowError(/resulted in a non-JSON response/) + }) +})