-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (25 loc) · 860 Bytes
/
diff-spec.yml
File metadata and controls
32 lines (25 loc) · 860 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Diff spec
on:
workflow_dispatch:
schedule:
- cron: '0 0 1 * *'
jobs:
check-spec:
name: Check SDK is in sync with spec
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Install dependencies
run: composer update --no-interaction
- name: Regenerate SDK library
run: rm -rf generated && vendor/bin/jane-openapi generate --config-file=.jane-openapi.php
- name: Rector
run: vendor/bin/rector
- name: Code style
run: PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix
- name: Create Pull Request
uses: peter-evans/create-pull-request@v8