Update gem from OpenAPI Spec #14
This file contains hidden or 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: Update gem from OpenAPI Spec | |
| on: | |
| schedule: | |
| - cron: 0 0 * * 0 | |
| workflow_dispatch: | |
| concurrency: | |
| group: "${{ github.workflow }}-${{ github.ref }}" | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| openapi-generate: | |
| runs-on: ubuntu-latest | |
| env: | |
| INPUT_SPEC_VERSION: v4.0 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up system | |
| run: sudo apt install -y xq | |
| - name: OpenAPI Generate | |
| run: bin/openapi-generate | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v7 | |
| with: | |
| add-paths: | | |
| .openapi-generator | |
| docs | |
| lib | |
| README.md | |
| spec | |
| commit-message: Update nutanix_clustermgmt gem | |
| branch: openapi_generate | |
| author: ManageIQ Bot <bot@manageiq.org> | |
| committer: ManageIQ Bot <bot@manageiq.org> | |
| delete-branch: true | |
| labels: enhancement | |
| assignees: agrare | |
| push-to-fork: miq-bot/nutanix_clustermgmt-sdk-ruby | |
| title: Update nutanix_clustermgmt gem | |
| body: | | |
| Update the nutanix_clustermgmt-sdk-ruby gem from the nutanix_clustermgmt openapi-spec: | |
| https://developers.nutanix.com/api-reference?namespace=clustermgmt&version=${{ env.INPUT_SPEC_VERSION }} | |
| token: "${{ secrets.PR_TOKEN }}" |