-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
47 lines (43 loc) · 1.53 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: 'Git Merge & Push Action'
description: 'Merge two git branches and push the result'
branding:
icon: git-merge
color: blue
inputs:
target:
description: 'Target branch of the merge operation, ours'
required: true
default: ''
source:
description: 'Source branch to merge into our branch, theirs'
required: false
default: ''
strategy_options:
description: 'Comma separated list of options for the `ort` merge strategy'
required: false
default: ''
user_email:
description: 'git config user.email for the merge commit'
required: false
default: '[email protected]'
user_name:
description: 'git config user.name for the merge commit'
required: false
default: 'git merge action'
dry_run:
description: 'Execute a dry run'
required: false
default: 'false'
token:
description: >
Personal access token (PAT) used to fetch the repository. The PAT is configured
with the local git config, which enables your scripts to run authenticated git
commands. The docker container is destroyed after running removing the PAT.
We recommend using a service account with the least permissions necessary.
Also when generating a new PAT, select the least scopes necessary.
[Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)
required: false
default: ${{ github.token }}
runs:
using: 'docker'
image: 'Dockerfile'