From 13a0e80a992e0cbad1e66fc3577cc1f544969244 Mon Sep 17 00:00:00 2001 From: Daniel Metzner Date: Fri, 30 Aug 2024 22:07:49 +0200 Subject: [PATCH] studio id must be an uuid --- .github/workflows/create_pull_request.yml | 15 ++++++++++++--- catroweb.yaml | 1 + 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/create_pull_request.yml b/.github/workflows/create_pull_request.yml index bef563b6..7fc77a96 100755 --- a/.github/workflows/create_pull_request.yml +++ b/.github/workflows/create_pull_request.yml @@ -28,10 +28,19 @@ jobs: - name: Permissions run: sudo chmod -R 777 ./ - - name: Fix code style - uses: docker://oskarstark/php-cs-fixer-ga:latest + - name: Set up PHP + uses: shivammathur/setup-php@v2 with: - args: --allow-risky=yes + php-version: '8.2' + + - name: Install dependencies + run: composer install --no-progress --no-suggest --prefer-dist + + - name: Run Rector + run: vendor/bin/rector + + - name: Fix code style + run: vendor/bin/php-cs-fixer fix - name: Create Pull Request id: cpr diff --git a/catroweb.yaml b/catroweb.yaml index ecc495b1..3bbd336c 100755 --- a/catroweb.yaml +++ b/catroweb.yaml @@ -1319,6 +1319,7 @@ paths: '/studio/{id}': parameters: + - $ref: '#/components/parameters/Uuid' - $ref: '#/components/parameters/Locale' put: security: