diff --git a/.github/workflows/pre-checks.yml b/.github/workflows/pre-checks.yml index bb1c6961c7..c31bbe4f0b 100644 --- a/.github/workflows/pre-checks.yml +++ b/.github/workflows/pre-checks.yml @@ -69,6 +69,15 @@ jobs: run: dotnet restore src - name: Build run: dotnet build src --configuration Release --no-restore + - name: Check for uncommitted files in working directory # refers to updated api specifications, please refer to /docs/api/README.md + run: | + git_status=$(git status --porcelain) + if [ -n "$git_status" ]; then + echo "Please commit the file(s) in your working directory after executing the build command" + exit 1 + else + echo "No modified files found in the working directory." + fi - name: Check Format run: dotnet format src --verify-no-changes --no-restore - name: Test diff --git a/docs/api/apps-service.yaml b/docs/api/apps-service.yaml index 3fd0c38725..53ca0c679a 100644 --- a/docs/api/apps-service.yaml +++ b/docs/api/apps-service.yaml @@ -2522,7 +2522,7 @@ components: description: Price. leadPictureId: type: string - description: Lead pircture Id. + description: Lead picture Id. format: uuid useCases: type: array diff --git a/docs/api/services-service.yaml b/docs/api/services-service.yaml index a46703f50e..d5d41b1c3a 100644 --- a/docs/api/services-service.yaml +++ b/docs/api/services-service.yaml @@ -2362,6 +2362,11 @@ components: provider: type: string description: Provider of the app. + leadPictureId: + type: string + description: Lead picture Id. + format: uuid + nullable: true contactEmail: type: string description: Contact email address. @@ -2496,6 +2501,10 @@ components: nullable: true provider: type: string + leadPictureId: + type: string + format: uuid + nullable: true contactEmail: type: string nullable: true