Skip to content

Release 0.4.0

Release 0.4.0 #43

name: release-candidate
on:
issues:
types: [opened, edited]
jobs:
release-candidate:
runs-on: ubuntu-latest
if: startsWith(github.event.issue.title, 'Release ')
steps:
- name: checkout
uses: actions/checkout@v4
- name: create release
id: create_release
uses: at-wat/catkin-release-action@v1
with:
issue_title: ${{ github.event.issue.title }}
git_user: Atsushi Watanabe
git_email: [email protected]
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: open pull-request
run: |
gh pr create \
--base master \
--head ${{ steps.create_release.outputs.created_branch }} \
--title "Release ${{ steps.create_release.outputs.version}}" \
--body "close #${{ github.event.issue.number }}" \
--assignee ${{ github.actor }} \
|| true
env:
GITHUB_TOKEN: ${{ secrets.BLOOM_GITHUB_TOKEN }}