Merge branch 'feature/organizations' of https://github.com/reportport… #105
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |