-
Notifications
You must be signed in to change notification settings - Fork 3
43 lines (43 loc) · 1.29 KB
/
openapi-generate.yml
File metadata and controls
43 lines (43 loc) · 1.29 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
39
40
41
42
43
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 }}"