forked from ManageIQ/nutanix_clustermgmt-sdk-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (36 loc) · 1.15 KB
/
openapi-generate.yml
File metadata and controls
38 lines (36 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Update gem from OpenAPI Spec
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0'
jobs:
openapi-generate:
runs-on: ubuntu-latest
env:
INPUT_SPEC_VERSION: v4.0
steps:
- uses: actions/checkout@v5
- 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/v1/namespaces/clustermgmt/versions/${{ env.INPUT_SPEC_VERSION }}/yaml
token: ${{ secrets.PR_TOKEN }}