Files
adyen-node-api-library/.github/workflows/models.yml
Michael Paul b1f58c3ab1 PW-6881: Generate more models (#915)
* PW-6881: Base generation on checked out branch

* Base the new PR on the current PR's branch

* PW-6881: Set base on checkout

* PW-6881: Generate Stored Value models

* PW-6881: Permission issue

* PW-6881: Run container without root

* PW-6881: Supporting files are required

* PW-6881: Remove debugging event

* PW-6881: Add POS Terminal Management

* PW-6881: Add Classic integration

* PW-6881: Generate Recurring models

* Update README.md

Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2022-07-19 13:55:16 +02:00

25 lines
707 B
YAML

name: Node.js Models
on: [ workflow_dispatch ]
jobs:
generate:
runs-on: ubuntu-latest
name: Generate Models
steps:
- uses: actions/checkout@v3
- name: Generate models
run: make models
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.ADYEN_AUTOMATION_BOT_ACCESS_TOKEN }}
committer: ${{ secrets.ADYEN_AUTOMATION_BOT_EMAIL }}
author: ${{ secrets.ADYEN_AUTOMATION_BOT_EMAIL }}
base: develop
branch: automation/models
title: Update models
body: OpenAPI spec or templates produced new models.
add-paths: |
src/typings