Skip to content

Create client release ticket #5

Create client release ticket

Create client release ticket #5

name: Create client release ticket
on:
workflow_dispatch:
inputs:
from:
description: "Previous client version"
required: true
to:
description: "Next client version"
required: true
jobs:
setup-scripts:
runs-on: bare-metal
steps:
- uses: actions/checkout@v3
- name: Upload tools
uses: actions/upload-artifact@v3
with:
name: original-tools
path: tools
create_client_ticket:
needs: ["setup-scripts"]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Download Original Tools
uses: actions/download-artifact@v3
with:
name: original-tools
path: original-tools
- name: Generate client release issue
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
working-directory: original-tools
run: |
npm i
npm run --silent print-client-release-issue -- --from ${{ github.event.inputs.from }} --to ${{ github.event.inputs.to }} | tee ../client-release-issue.md
- name: Create version bump issue
uses: peter-evans/create-issue-from-file@v3
with:
title: client ${{ github.event.inputs.to }} release
content-filepath: ./client-release-issue.md
labels: |
automated issue