-
Notifications
You must be signed in to change notification settings - Fork 91
32 lines (30 loc) · 1.1 KB
/
release-candidate.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# This file is automatically deployed from https://github.com/at-wat/.rospkg-assets.
# Please don't directly edit; update at-wat/.rospkg-assets instead.
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: atsushi.w@ieee.org
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: open pull-request
uses: repo-sync/pull-request@v2
with:
source_branch: ${{ steps.create_release.outputs.created_branch }}
destination_branch: master
pr_title: Release ${{ steps.create_release.outputs.version}}
pr_body: close \#${{ github.event.issue.number }}
pr_assignee: ${{ github.actor }}
github_token: ${{ secrets.BLOOM_GITHUB_TOKEN }}