Create Release PR #59
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.GH_TOKEN_PAT }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: git config | |
run: | | |
git config --global --add safe.directory '*' | |
git config user.email "[email protected]" | |
git config user.name "Github Automation" | |
- name: Create release PR | |
run: make RELEASE_LEVEL=${{ github.event.inputs.level }} release-pr |