-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
40 lines (40 loc) · 1.2 KB
/
action.yml
File metadata and controls
40 lines (40 loc) · 1.2 KB
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
35
36
37
38
39
40
# action.yml
name: 'Pullreq Police'
description: 'リリースブランチに変更があった場合に開発ブランチまで変更を反映させます。'
inputs:
repo:
description: '対象リポジトリ名(owner/repo)'
required: true
token:
description: 'リポジトリトークン'
required: true
current_branch:
description: 'マージされたリリースブランチ名'
required: true
release_branch_regexp:
description: 'リリースブランチを判定する正規表現'
required: true
default: '^release-\d+\.\d+\.\d+\.\d+$'
pr_title:
description: '作成するプルリクのタイトル'
required: true
default: 'リリースブランチの変更を検知しました'
pr_body:
description: '作成するプルリクの本文'
required: true
default: ''
protected:
description: 'プロテクトブランチに絞り込むか'
required: false
default: null
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.repo }}
- ${{ inputs.token }}
- ${{ inputs.current_branch }}
- ${{ inputs.release_branch_regexp }}
- ${{ inputs.pr_title }}
- ${{ inputs.pr_body }}
- ${{ inputs.protected }}