Skip to content

Merge branch '0b2e1d085c4a1926c169e70b656b40067662718f' into feature/… #160

Merge branch '0b2e1d085c4a1926c169e70b656b40067662718f' into feature/…

Merge branch '0b2e1d085c4a1926c169e70b656b40067662718f' into feature/… #160

name: OpenAPI Build
on:
push:
paths:
- 'api/openapi/**'
- '!api/openapi/README.md'
jobs:
build:
runs-on: ubuntu-latest
container: node:21
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Configurate Git Safe Directory
run: git config --global --add safe.directory /__w/reportportal-common-api/reportportal-common-api
- name: Verify OpenAPI
run: make lint-all
- name: Update main specification
run: make join
- name: Commit changes
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add api/openapi/reportportal-api.yaml
git commit -m "Update reportportal-api.yaml"
git push
- name: Bundle OpenAPI
run: make bundle