Skip to content

[GitHubEnterprise-3.13] Update to 1.1.4-137676a6235fb7b69c005e84a24e1466 from 1.1.4-497f4757745d55b121a2ab0c966f454f #1449

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/GitHubEnterprise-3.13/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13023,7 +13023,7 @@ You can find more about this operation over at the [API method documentation](ht

### repos/check-automated-security-fixes

Check if automated security fixes are enabled for a repository
Check if Dependabot security updates are enabled for a repository

Using the `call` method:
```php
Expand All @@ -13040,7 +13040,7 @@ $client->operations()->repos()->checkAutomatedSecurityFixes( owner: 'gene
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/[email protected]/rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository).
You can find more about this operation over at the [API method documentation](https://docs.github.com/[email protected]/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository).


### repos/list-branches
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"specHash": "497f4757745d55b121a2ab0c966f454f",
"specHash": "137676a6235fb7b69c005e84a24e1466",
"generatedFiles": {
"files": [
{
Expand Down Expand Up @@ -14332,7 +14332,7 @@
},
{
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/CheckAutomatedSecurityFixes.php",
"hash": "8b3e4e3b089e11c7a2a5c1af8fd12226"
"hash": "02e7a629d3aa691c6e924695c315f095"
},
{
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/ProtectedBranchRequiredStatusCheck.php",
Expand Down Expand Up @@ -29988,7 +29988,7 @@
},
{
"name": "..\/..\/composer.lock",
"hash": "9968921f0959a081d8998c22c95e7f44"
"hash": "ba3412e727d85b330527d34ff8accb9e"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
final readonly class CheckAutomatedSecurityFixes
{
public const SCHEMA_JSON = '{
"title": "Check Automated Security Fixes",
"title": "Check Dependabot security updates",
"required": [
"enabled",
"paused"
Expand All @@ -16,31 +16,31 @@
"properties": {
"enabled": {
"type": "boolean",
"description": "Whether automated security fixes are enabled for the repository.",
"description": "Whether Dependabot security updates are enabled for the repository.",
"examples": [
true
]
},
"paused": {
"type": "boolean",
"description": "Whether automated security fixes are paused for the repository.",
"description": "Whether Dependabot security updates are paused for the repository.",
"examples": [
false
]
}
},
"description": "Check Automated Security Fixes"
"description": "Check Dependabot security updates"
}';
public const SCHEMA_TITLE = 'Check Automated Security Fixes';
public const SCHEMA_DESCRIPTION = 'Check Automated Security Fixes';
public const SCHEMA_TITLE = 'Check Dependabot security updates';
public const SCHEMA_DESCRIPTION = 'Check Dependabot security updates';
public const SCHEMA_EXAMPLE_DATA = '{
"enabled": true,
"paused": false
}';

/**
* enabled: Whether automated security fixes are enabled for the repository.
* paused: Whether automated security fixes are paused for the repository.
* enabled: Whether Dependabot security updates are enabled for the repository.
* paused: Whether Dependabot security updates are paused for the repository.
*/
public function __construct(public bool $enabled, public bool $paused)
{
Expand Down
20 changes: 10 additions & 10 deletions etc/specs/GitHubEnterprise-3.13/current.spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22175,17 +22175,17 @@ paths:
subcategory: autolinks
"/repos/{owner}/{repo}/automated-security-fixes":
get:
summary: Check if automated security fixes are enabled for a repository
description: Shows whether automated security fixes are enabled, disabled or
paused for a repository. The authenticated user must have admin read access
to the repository. For more information, see "[Configuring automated security
fixes](https://docs.github.com/[email protected]/articles/configuring-automated-security-fixes)".
summary: Check if Dependabot security updates are enabled for a repository
description: Shows whether Dependabot security updates are enabled, disabled
or paused for a repository. The authenticated user must have admin read access
to the repository. For more information, see "[Configuring Dependabot security
updates](https://docs.github.com/[email protected]/articles/configuring-automated-security-fixes)".
tags:
- repos
operationId: repos/check-automated-security-fixes
externalDocs:
description: API method documentation
url: https://docs.github.com/[email protected]/rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository
url: https://docs.github.com/[email protected]/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository
parameters:
- "$ref": "#/components/parameters/owner"
- "$ref": "#/components/parameters/repo"
Expand Down Expand Up @@ -78651,18 +78651,18 @@ components:
- url_template
- is_alphanumeric
check-automated-security-fixes:
title: Check Automated Security Fixes
description: Check Automated Security Fixes
title: Check Dependabot security updates
description: Check Dependabot security updates
type: object
properties:
enabled:
type: boolean
description: Whether automated security fixes are enabled for the repository.
description: Whether Dependabot security updates are enabled for the repository.
examples:
- true
paused:
type: boolean
description: Whether automated security fixes are paused for the repository.
description: Whether Dependabot security updates are paused for the repository.
examples:
- false
required:
Expand Down
Loading