Skip to content

Commit a1eebcf

Browse files
authored
Merge pull request #63829 from github/repo-sync
Repo sync
2 parents 0e036d7 + d1a0081 commit a1eebcf

4 files changed

Lines changed: 11 additions & 3 deletions

File tree

‎content/actions/how-tos/write-workflows/choose-when-workflows-run/control-jobs-with-conditions.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ category:
1515
contentType: how-tos
1616
---
1717

18-
You can use the `jobs.<job_id>.if` conditional to prevent a job from running unless a condition is met. {% data reusables.actions.if-supported-contexts %}
18+
You can use the `jobs.<job_id>.if` conditional to prevent a job from running unless a condition is met. {% data reusables.actions.if-supported-contexts %}
19+
20+
Note that conditions executed by a shell (for example `[[ $variable == "prefix"* ]]`) cannot be evaluated in `jobs.<job_id>.if`. Such conditions must be written inside `jobs.<job_id>.steps[*].run`.
1921

2022
### Example: Only run job for a specific repository
2123

‎content/code-security/reference/supply-chain-security/dependabot-options-reference.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,13 +542,15 @@ Change the limit on the maximum number of pull requests for version updates open
542542
* If five pull requests with version updates are open, no further pull requests are raised until some of those open requests are merged or closed.
543543

544544
> [!NOTE]
545-
> _Security update_ pull requests are not subject to this limit and do not count toward it. There is no limit on the number of open pull requests for security updates.
545+
> _Security update_ pull requests are subject to a separate, fixed limit of 10 open pull requests, which cannot be configured using `open-pull-requests-limit`.
546546

547547
When `open-pull-requests-limit` is defined:
548548

549549
* {% data variables.product.prodname_dependabot %} opens pull requests up to the defined integer value. A large value can be set to effectively remove the open pull request limit.
550550
* You can temporarily disable version updates for a package manager by setting this option to zero, see [Disabling {% data variables.product.prodname_dependabot_version_updates %}](/code-security/how-tos/secure-your-supply-chain/secure-your-dependencies/configure-version-updates#disabling-dependabot-version-updates).
551551

552+
When either limit is reached, {% data variables.product.prodname_dependabot %} reports an error and stops opening additional pull requests until some of the open pull requests are merged or closed. For more information, see [AUTOTITLE](/code-security/reference/supply-chain-security/troubleshoot-dependabot/dependabot-errors#pull-request-limit-reached).
553+
552554
## `package-ecosystem` {% octicon "versions" aria-label="Version updates only" height="24" %}
553555

554556
<!--Note: When making updates to this section, please make sure any changes are also reflected in `data/reusables/dependabot/supported-package-managers.md`.-->

‎data/reusables/actions/github-token-available-permissions.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ permissions:
77
attestations: read|write|none{% endif %}
88
checks: read|write|none{% ifversion code-quality %}
99
code-quality: read|write|none{% endif %}
10-
contents: read|write|none
10+
contents: read|write|none{% ifversion copilot %}
11+
copilot-requests: write|none{% endif %}
1112
deployments: read|write|none{% ifversion fpt or ghec %}
1213
id-token: write|none{% endif %}
1314
issues: read|write|none

‎data/reusables/actions/github-token-scope-descriptions.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ Available permissions and details of what each allows an action to do:
1616
| `code-quality` | Work with code quality. For example, `code-quality: write` permits an action to upload code coverage reports. For more information, see [AUTOTITLE](/code-security/concepts/code-quality/code-quality). |
1717
| {% endif %} |
1818
| `contents` | Work with the contents of the repository. For example, `contents: read` permits an action to list the commits, and `contents: write` allows the action to create a release. For more information, see [AUTOTITLE](/rest/authentication/permissions-required-for-github-apps?apiVersion=2022-11-28#repository-permissions-for-contents). |
19+
| {% ifversion copilot %} |
20+
| `copilot-requests` | Make {% data variables.product.prodname_copilot_short %} requests. For example, `copilot-requests: write` permits a workflow in an organization-owned repository to use {% data variables.copilot.copilot_cli_short %} with `GITHUB_TOKEN` when the organization's billing policy allows it. Only `write` and `none` are supported. See [AUTOTITLE](/copilot/how-tos/copilot-cli/use-copilot-cli-in-actions). |
21+
| {% endif %} |
1922
| `deployments` | Work with deployments. For example, `deployments: write` permits an action to create a new deployment. For more information, see [AUTOTITLE](/rest/authentication/permissions-required-for-github-apps?apiVersion=2022-11-28#repository-permissions-for-deployments). |
2023
| `discussions` | Work with GitHub Discussions. For example, `discussions: write` permits an action to close or delete a discussion. For more information, see [AUTOTITLE](/graphql/guides/using-the-graphql-api-for-discussions). |
2124
| {% ifversion fpt or ghec %} |

0 commit comments

Comments
 (0)