Skip to content

.NET Library Services + Models #71

.NET Library Services + Models

.NET Library Services + Models #71

Workflow file for this run

name: .NET Library Services + Models
on: [ workflow_dispatch ]
jobs:
generate:
runs-on: ubuntu-latest
name: Generate Models + Services
steps:
- uses: actions/checkout@v4
- run: make allServices
- name: Set PR variables
id: vars
run: |
cd target/spec
echo ::set-output name=pr_title::"Update models + services"
echo ::set-output name=pr_body::"OpenAPI spec or templates produced new models + services on $(date +%d-%m-%Y) \
by [commit](https://github.com/Adyen/adyen-openapi/commit/$(git rev-parse HEAD))."
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.ADYEN_AUTOMATION_BOT_ACCESS_TOKEN }}
committer: ${{ secrets.ADYEN_AUTOMATION_BOT_EMAIL }}
author: ${{ secrets.ADYEN_AUTOMATION_BOT_EMAIL }}
base: develop
branch: automation/services
title: ${{ steps.vars.outputs.pr_title }}
body: ${{ steps.vars.outputs.pr_body }}
add-paths: |
Adyen/Model
Adyen/Service