-
Notifications
You must be signed in to change notification settings - Fork 3
/
action.yml
25 lines (25 loc) · 860 Bytes
/
action.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
name: 'Merge PR to Branch'
description: "Handles merging PRs with 'stage' label to a target branch."
author: 'Deliveroo'
inputs:
target-branch:
description: 'The target branch to merge PRs to'
default: staging
repo-token:
description: 'The access token used to access github api'
default: ${{ github.token }}
lock-branch-name:
description: 'Branch name to use as a semaphore to prevent parallel execution'
default: lock
lock-check-interval-ms:
description: 'Interval to check for the semaphore in milliseconds'
default: '30000'
request-label-name:
description: 'Label which triggers a deployment to target-branch'
default: stage
deployed-label-name:
description: 'Label which indicates a PR was successfully merged to target-branch'
default: staged
runs:
using: 'docker'
image: 'Dockerfile'