-
Notifications
You must be signed in to change notification settings - Fork 42
/
action.yml
53 lines (50 loc) · 1.88 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
48
49
50
51
52
53
name: mirror-repository
description: Automate mirroring of git commits to or from a remote repository, like GitLab, Bitbucket, or another GitHub repository
branding:
icon: git-commit
color: green
inputs:
REMOTE_NAME:
description: "The remote ref name to use. 'mirror' by default. Useful to avoid conflicts with existing remotes."
required: false
REMOTE:
description: "The remote repository e.g. https://github.com/octocat/foo.git or [email protected]:octocat/foo.git"
required: false
GIT_USERNAME:
description: "Username for remote repository"
required: false
GIT_PASSWORD:
description: "The git HTTPS password or token for the remote repository"
required: false
GIT_SSH_PRIVATE_KEY:
description: "The ssh private key for writing to the remote repository, if using ssh"
required: false
GIT_SSH_PUBLIC_KEY:
description: "The ssh public key for writing to the remote repository. Normally, not required at all"
required: false
GIT_SSH_KNOWN_HOSTS:
description: "The contents of an SSH known_hosts file for host key verification"
required: false
GIT_SSH_NO_VERIFY_HOST:
description: "If true, skip host key verification. Mutually exclusive with GIT_SSH_KNOWN_HOSTS"
default: "false"
required: false
GIT_REF:
description: "Push another ref rather than the current branch (GITHUB_REF) from which the action was triggered. Only effective when PUSH_ALL_REFS is false"
default: ${{ github.ref }}
required: false
PUSH_ALL_REFS:
description: "Push all refs instead of just the current branch"
default: "true"
required: false
GIT_PUSH_ARGS:
description: "The arguments to use when pushing the repository"
default: '--tags --force --prune'
required: false
DEBUG:
description: 'set to "true" to enable debug mode'
default: "false"
required: false
runs:
using: 'docker'
image: 'Dockerfile'