-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
32 lines (32 loc) · 844 Bytes
/
action.yml
File metadata and controls
32 lines (32 loc) · 844 Bytes
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
name: 'Rebase Workflow Starter'
description: 'Starts a rebase worflow for each labled Pull Request'
branding:
icon: arrow-up-circle
color: blue
inputs:
token: # id of input
description: 'A token to authenticate with GitHub API'
required: true
worflow_id:
description: 'Rebase workflow definition filename'
required: true
pr_label_name:
description: 'Autorebase PR label'
required: true
repository:
description: 'A full repository name'
default: ${{ github.repository }}
required: false
ref:
description: 'A ref of the branch to rebase to'
default: ${{ github.ref }}
required: false
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.token }}
- ${{ inputs.worflow_id }}
- ${{ inputs.pr_label_name }}
- ${{ inputs.ref }}
- ${{ inputs.repository }}