Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c59d344

Browse files
authored
Merge pull request #43941 from github/repo-sync
Repo sync
2 parents a995224 + ba4be37 commit c59d344

12 files changed

Lines changed: 79 additions & 32 deletions

File tree

config/moda/deployment.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
environments:
44
- name: production
55
require_pipeline: true
6+
# Bumped from default 10m because pod scheduling occasionally pushes
7+
# rollouts past the timeout even though the deploy itself succeeds.
8+
timeout: 1200
69
cluster_selector:
710
profile: general
811
region: iad
@@ -201,13 +204,13 @@ pipelines:
201204
production_rollout:
202205
thread_notifications: true
203206
notify_users_via_dm: false
204-
timeout: 1200
207+
timeout: 1800
205208
stages:
206209
- name: full_production
207210
kind: deployment
208211
config:
209212
environment: production
210-
timeout: 1200
213+
timeout: 1800
211214

212215
notifications:
213216
slack_channels:

content/actions/concepts/security/github_token.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ The token is also available in the `github.token` context. For more information,
2929

3030
{% data reusables.actions.actions-do-not-trigger-workflows %}
3131

32+
{% ifversion actions-github-token-pull-request-approval %}
33+
> [!NOTE]
34+
> If you need workflow runs from workflow-created pull requests to execute without requiring approval, use a {% data variables.product.prodname_github_app %} installation access token or a {% data variables.product.pat_generic %} instead of `GITHUB_TOKEN` when creating or updating the pull request.
35+
{% endif %}
36+
3237
{% data reusables.actions.actions-do-not-trigger-pages-rebuilds %}
3338

3439
## Next steps

content/actions/how-tos/write-workflows/choose-when-workflows-run/trigger-a-workflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ To learn more about workflows and triggering workflows, see [AUTOTITLE](/actions
2525

2626
{% data reusables.actions.actions-do-not-trigger-workflows %} For more information, see [AUTOTITLE](/actions/security-guides/automatic-token-authentication).
2727

28-
If you do want to trigger a workflow from within a workflow run, you can use a {% data variables.product.prodname_github_app %} installation access token or a {% data variables.product.pat_generic %} instead of `GITHUB_TOKEN` to trigger events that require a token.
28+
If you do want to trigger a workflow from within a workflow run, you can use a {% data variables.product.prodname_github_app %} installation access token or a {% data variables.product.pat_generic %} instead of `GITHUB_TOKEN` to trigger events that require a token.{% ifversion actions-github-token-pull-request-approval %} Using one of these alternatives also lets `pull_request` workflows run automatically (without the approval prompt described above) when the pull request is created or updated by automation.{% endif %}
2929

3030
If you use a {% data variables.product.prodname_github_app %}, you'll need to create a {% data variables.product.prodname_github_app %} and store the app ID and private key as secrets. For more information, see [AUTOTITLE](/apps/creating-github-apps/guides/making-authenticated-api-requests-with-a-github-app-in-a-github-actions-workflow). If you use a {% data variables.product.pat_generic %}, you'll need to create a {% data variables.product.pat_generic %} and store it as a secret. For more information about creating a {% data variables.product.pat_generic %}, see [AUTOTITLE](/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token). For more information about storing secrets, see [AUTOTITLE](/actions/security-guides/using-secrets-in-github-actions).
3131

content/actions/reference/workflows-and-actions/events-that-trigger-workflows.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,8 @@ on:
510510
> [!NOTE]
511511
> * {% data reusables.developer-site.multiple_activity_types %} For information about each activity type, see [AUTOTITLE](/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request). By default, a workflow only runs when a `pull_request` event's activity type is `opened`, `synchronize`, or `reopened`. To trigger workflows by different activity types, use the `types` keyword. For more information, see [AUTOTITLE](/actions/using-workflows/workflow-syntax-for-github-actions#onevent_nametypes).
512512
> * Workflows will not run on `pull_request` activity if the pull request has a merge conflict. The merge conflict must be resolved first. Conversely, workflows with the `pull_request_target` event will run even if the pull request has a merge conflict. Before using the `pull_request_target` trigger, you should be aware of the security risks. For more information, see [`pull_request_target`](#pull_request_target).
513-
> * The `pull_request` webhook event payload is empty for merged pull requests and pull requests that come from forked repositories.
513+
> * The `pull_request` webhook event payload is empty for merged pull requests and pull requests that come from forked repositories.{% ifversion actions-github-token-pull-request-approval %}
514+
> * When a pull request is created or updated by a workflow using `GITHUB_TOKEN`, `pull_request` events with the `opened`, `synchronize`, or `reopened` activity types create workflow runs that require approval. A user with write access to the repository can approve these runs from the pull request page. With the exception of `workflow_dispatch` and `repository_dispatch`, other `GITHUB_TOKEN`-triggered events do not create workflow runs at all.{% endif %}
514515
> * The value of `GITHUB_REF` varies for a closed pull request depending on whether the pull request has been merged or not. If a pull request was closed but not merged, it will be `refs/pull/PULL_REQUEST_NUMBER/merge`. If a pull request was closed as a result of being merged, it will be the fully qualified `ref` of the branch it was merged into, for example `/refs/heads/main`.
515516

516517
Runs your workflow when activity on a pull request in the workflow's repository occurs. For example, if no activity types are specified, the workflow runs when a pull request is opened or reopened or when the head branch of the pull request is updated. For activity related to pull request reviews, pull request review comments, or pull request comments, use the [`pull_request_review`](#pull_request_review), [`pull_request_review_comment`](#pull_request_review_comment), or [`issue_comment`](#issue_comment) events instead. For information about the pull request APIs, see [AUTOTITLE](/graphql/reference/objects#pullrequest) in the GraphQL API documentation or [AUTOTITLE](/rest/pulls).

content/billing/reference/product-and-sku-names.md

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -31,64 +31,41 @@ For **SkuPricing** budgets or to query usage by SKU, use one of the following va
3131

3232
<!-- markdownlint-disable GHD046 -->
3333

34-
* `actions_beta_classroom_repository` - Actions beta classroom repository
35-
* `actions_beta_custom_runner_azure` - Actions beta custom runner (Azure)
36-
* `actions_beta_macos_xl_runner` - Actions beta macOS XL runner
37-
* `actions_beta_public_repository` - Actions beta public repository
38-
* `actions_beta_self_hosted_runner` - Actions beta self-hosted runner
3934
* `actions_cache_storage` - Actions cache storage
4035
* `actions_custom_image_storage` - Actions custom image storage
4136
* `actions_linux` - Actions Linux runners
42-
* `actions_linux_16_core_perf` - Actions Linux 16-core performance
43-
* `actions_linux_20_core_mem` - Actions Linux 20-core memory
4437
* `actions_linux_2_core_advanced` - Actions Linux 2-core advanced
4538
* `actions_linux_2_core_arm` - Actions Linux 2-core ARM
4639
* `actions_linux_32_core` - Actions Linux 32-core
4740
* `actions_linux_32_core_arm` - Actions Linux 32-core ARM
48-
* `actions_linux_32_core_stor` - Actions Linux 32-core storage
4941
* `actions_linux_4_core` - Actions Linux 4-core
50-
* `actions_linux_4_core_advanced` - Actions Linux 4-core advanced
42+
* `actions_linux_4_core_arm` - Actions Linux 4-core ARM
5143
* `actions_linux_4_core_gpu` - Actions Linux 4-core GPU
5244
* `actions_linux_64_core` - Actions Linux 64-core
5345
* `actions_linux_64_core_arm` - Actions Linux 64-core ARM
5446
* `actions_linux_8_core` - Actions Linux 8-core
5547
* `actions_linux_8_core_arm` - Actions Linux 8-core ARM
56-
* `actions_linux_8_core_stor` - Actions Linux 8-core storage
5748
* `actions_linux_96_core` - Actions Linux 96-core
58-
* `actions_linux_a100_24_core_gpu` - Actions Linux A100 24-core GPU
59-
* `actions_linux_a10_36_core_gpu` - Actions Linux A10 36-core GPU
6049
* `actions_linux_arm` - Actions Linux ARM
6150
* `actions_linux_slim` - Actions Linux slim
6251
* `actions_macos` - Actions macOS runners
63-
* `actions_macos_12_core` - Actions macOS 12-core
64-
* `actions_macos_8_core` - Actions macOS 8-core
6552
* `actions_macos_l` - Actions macOS large
6653
* `actions_macos_xl` - Actions macOS XL
67-
* `actions_self_hosted_linux` - Actions self-hosted Linux
68-
* `actions_self_hosted_macos` - Actions self-hosted macOS
69-
* `actions_self_hosted_unknown` - Actions self-hosted unknown
70-
* `actions_self_hosted_windows` - Actions self-hosted Windows
7154
* `actions_storage` - Actions storage
72-
* `actions_unknown` - Actions unknown
7355
* `actions_windows` - Actions Windows runners
7456
* `actions_windows_16_core` - Actions Windows 16-core
75-
* `actions_windows_176_core_perf` - Actions Windows 176-core performance
7657
* `actions_windows_2_core` - Actions Windows 2-core
7758
* `actions_windows_2_core_advanced` - Actions Windows 2-core advanced
7859
* `actions_windows_2_core_arm` - Actions Windows 2-core ARM
60+
* `actions_windows_4_core_arm` - Actions Windows 4-core ARM
7961
* `actions_windows_32_core` - Actions Windows 32-core
8062
* `actions_windows_32_core_arm` - Actions Windows 32-core ARM
81-
* `actions_windows_32_core_stor` - Actions Windows 32-core storage
8263
* `actions_windows_4_core` - Actions Windows 4-core
8364
* `actions_windows_4_core_gpu` - Actions Windows 4-core GPU
8465
* `actions_windows_64_core` - Actions Windows 64-core
8566
* `actions_windows_64_core_arm` - Actions Windows 64-core ARM
8667
* `actions_windows_8_core` - Actions Windows 8-core
8768
* `actions_windows_8_core_arm` - Actions Windows 8-core ARM
88-
* `actions_windows_8_core_mem` - Actions Windows 8-core memory
89-
* `actions_windows_8_core_stor` - Actions Windows 8-core storage
90-
* `actions_windows_a100_24_core_gpu` - Actions Windows A100 24-core GPU
91-
* `actions_windows_a10_36_core_gpu` - Actions Windows A10 36-core GPU
9269
* `actions_windows_arm` - Actions Windows ARM
9370

9471
<!-- markdownlint-enable GHD046 -->

content/organizations/managing-organization-settings/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ children:
4040
- /managing-the-display-of-member-names-in-your-organization
4141
- /managing-updates-from-accounts-your-organization-sponsors
4242
- /managing-the-publication-of-github-pages-sites-for-your-organization
43+
- /managing-commit-comments-for-your-organization
4344
- /archiving-an-organization
4445
- /deleting-an-organization-account
4546
- /converting-an-organization-into-a-user
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
title: Managing commit comments for your organization
3+
intro: 'Organization owners can allow or disallow commit comments by default for repositories in their organization.'
4+
permissions: Organization owners
5+
versions:
6+
fpt: '*'
7+
ghes: '>= 3.22'
8+
ghec: '*'
9+
shortTitle: Manage commit comments
10+
category:
11+
- Set repository policies
12+
---
13+
14+
## About commit comments
15+
16+
Commit comments are comments people add directly to a commit outside of a pull request. Disallowing commit comments can help organizations reduce noise and maintain cleaner commit histories, especially if commit comments are not part of your development workflow.
17+
18+
It is possible to allow or disallow commit comments at a repository level. Organization owners can configure the default setting for commit comments for all repositories in an organization.
19+
20+
## What happens when commit comments are disabled?
21+
22+
When you disable commit comments for your organization:
23+
24+
* People cannot create new commit comments.
25+
* Existing commit comments remain visible.
26+
* Repository administrators can override the setting in their repository's settings.
27+
28+
## Managing the default setting for commit comments in your organization's repositories
29+
30+
{% data reusables.profile.access_org %}
31+
{% data reusables.profile.org_settings %}
32+
1. In the "Code, planning, and automation" section of the sidebar, select **{% octicon "repo" aria-hidden="true" aria-label="repo" %} Repository**, then click **General**.
33+
1. Under "Commits", select or deselect **Allow comments on individual commits**.
34+
35+
36+
## Further reading
37+
38+
* [AUTOTITLE](/communities/moderating-comments-and-conversations/managing-disruptive-comments)
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Approval-required workflow runs for pull requests created or updated by
2+
# workflows using GITHUB_TOKEN. Implementation feature flag:
3+
# `actions_requires_approval_for_actions_bot_prs`.
4+
versions:
5+
fpt: '*'
6+
ghec: '*'
7+
# ghes: '>=3.XX' # Uncomment when this ships to GHES (currently rolling out on dotcom)
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Vulnerability alerts permission for GITHUB_TOKEN
2+
# GHES support will be added when the feature ships to GHES
3+
versions:
4+
fpt: '*'
5+
ghec: '*'
6+
# ghes: '>=3.XX' # Uncomment when vulnerability-alerts permission ships to GHES
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
When you use the repository's `GITHUB_TOKEN` to perform tasks, events triggered by the `GITHUB_TOKEN`, with the exception of `workflow_dispatch` and `repository_dispatch`, will not create a new workflow run. This prevents you from accidentally creating recursive workflow runs. For example, if a workflow run pushes code using the repository's `GITHUB_TOKEN`, a new workflow will not run even when the repository contains a workflow configured to run when `push` events occur.
1+
When you use the repository's `GITHUB_TOKEN` to perform tasks, events triggered by the `GITHUB_TOKEN` will not create a new workflow run, with the following exceptions:
2+
3+
* `workflow_dispatch` and `repository_dispatch` events always create workflow runs.{% ifversion actions-github-token-pull-request-approval %}
4+
* `pull_request` events with the `opened`, `synchronize`, or `reopened` activity types: when a workflow using `GITHUB_TOKEN` creates or updates a pull request, the resulting `pull_request` event creates workflow runs in an **approval-required** state. The pull request displays a banner in the merge box, and a user with write access to the repository can start the runs by selecting **Approve workflows to run**. Other `pull_request` activity types (such as `labeled`, `edited`, or `closed`) do not create workflow runs. This prevents recursive workflow runs while still allowing CI workflows to run on pull requests created by automation. For more information about approving workflow runs, see [AUTOTITLE](/actions/how-tos/manage-workflow-runs/approve-runs-from-forks).{% endif %}
5+
6+
For all other events, this behavior prevents you from accidentally creating recursive workflow runs. For example, if a workflow run pushes code using the repository's `GITHUB_TOKEN`, a new workflow will not run even when the repository contains a workflow configured to run when `push` events occur.

0 commit comments

Comments
 (0)