-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
32 lines (30 loc) · 930 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
26
27
28
29
30
31
32
name: 'Auto Merge PRs'
description: 'A GitHub Action to automatically merge pull requests after they have received the required approvals.'
author: 'MinhOmega'
branding:
icon: 'git-pull-request'
color: 'blue'
inputs:
sleep_duration:
description: 'Duration to sleep between checks (in seconds)'
required: false
default: '5'
timeout_minutes:
description: 'Timeout for the merge process (in minutes)'
required: false
default: '1440'
base_branch:
description: 'Base branch to check against'
required: false
default: 'master'
github_token:
description: 'GitHub token for authentication'
required: true
runs:
using: 'docker'
image: 'docker://ghcr.io/minhomega/auto-merge:v1.0.4'
env:
SLEEP_DURATION: ${{ inputs.sleep_duration }}
TIMEOUT_MINUTES: ${{ inputs.timeout_minutes }}
BASE_BRANCH: ${{ inputs.base_branch }}
GITHUB_TOKEN: ${{ inputs.github_token }}