Skip to content

Commit 7bc331f

Browse files
check setup-git-user
1 parent c36badb commit 7bc331f

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/build-api-docs.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v4
1616

1717
- name: Setup PHP
1818
uses: shivammathur/setup-php@v2
@@ -30,7 +30,7 @@ jobs:
3030
composer require dedoc/scramble-pro:0.7.0-alpha.1 --dev
3131
3232
- name: Checkout documentation repository
33-
uses: actions/checkout@v2
33+
uses: actions/checkout@v4
3434
with:
3535
repository: ${{ env.DOCS_REPOSITORY }}
3636
ref: ${{ env.DOCS_BRANCH }}
@@ -40,9 +40,7 @@ jobs:
4040
run: php vendor/bin/testbench scramble:export --path=docs-repository/api-reference/openapi.json
4141

4242
- name: Setup git config
43-
run: |
44-
git config --global user.name "GitHub Actions"
45-
git config --global user.email "<>"
43+
uses: fregante/setup-git-user@v2
4644

4745
- name: Commit and push generated template
4846
run: |

src/CachetCoreServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ private function configureScramble(): void
209209
}
210210

211211
Scramble::afterOpenApiGenerated(function (OpenApi $openApi) {
212-
$openApi->info->description = 'API documentation for Cachet, the open source status page system.';
212+
$openApi->info->description = 'API documentation for Cachet, the open-source, self-hosted status page system.';
213213

214214
$openApi->secure(
215215
SecurityScheme::http('bearer')

0 commit comments

Comments
 (0)