-
Notifications
You must be signed in to change notification settings - Fork 88
34 lines (31 loc) · 1.1 KB
/
create-release-pr.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
33
34
name: "Create Release PR"
on:
workflow_dispatch:
inputs:
release_version:
description: "next release version"
required: true
env:
GIT_AUTHOR_NAME: mackerelbot
GIT_AUTHOR_EMAIL: [email protected]
GIT_COMMITTER_NAME: mackerelbot
GIT_COMMITTER_EMAIL: [email protected]
jobs:
create:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: mackerelio/mackerel-create-release-pull-request-action@main
id: start
with:
github_token: ${{ secrets.MACKERELBOT_GITHUB_TOKEN }}
next_version: ${{ github.event.inputs.release_version }}
package_name: mackerel-agent
- uses: mackerelio/mackerel-create-release-pull-request-action@main
with:
github_token: ${{ secrets.MACKERELBOT_GITHUB_TOKEN }}
finished: "true"
package_name: mackerel-agent
next_version: ${{ steps.start.outputs.nextVersion }}
branch_name: ${{ steps.start.outputs.branchName }}
pull_request_infos: ${{ steps.start.outputs.pullRequestInfos }}