Create Release PR #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Creates packages | |
name: Create Release PR | |
permissions: | |
contents: write | |
pull-requests: write | |
on: | |
workflow_dispatch: | |
inputs: | |
level: | |
description: 'Release level' | |
required: true | |
default: 'minor' | |
type: choice | |
options: | |
- patch | |
- minor | |
- major | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
container: | |
# See https://github.com/3box/rust-builder | |
image: public.ecr.aws/r5b3e0r5/3box/rust-builder:latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- run: | | |
git config user.email "[email protected]" | |
git config user.name "Github Automation" | |
- run: npm install @openapitools/[email protected] -g | |
- name: Create release PR | |
run: make RELEASE_LEVEL=${{ github.event.inputs.level }} release-pr |