-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
86 lines (68 loc) · 1.99 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
name: 'Github To Gitea Mirror'
description: 'Python Script To Auto Trigger Gitea Mirror Using Github Action '
author: 'varunsridharan'
branding:
icon: 'airplay'
color: 'blue'
inputs:
gh_username:
description: 'Github Username'
default: false
required: true
gh_accesstoken:
description: 'Github Personal Access Token'
default: false
required: true
gitea_host:
description: 'Gitea Mirror Host URL'
default: false
required: true
gitea_username:
description: 'Gitea Username'
default: false
required: true
gitea_accesstoken:
description: 'Gitea Personal Access Token'
default: false
required: true
gitea_gist_prefix:
description: 'Custom Prefix For Repository When Mirroring Gists'
default: 'gist'
gitea_gist_surfix:
description: 'Custom Prefix For Repository When Mirroring Gists'
default: ''
gistsSource:
description: 'set to true to mirror all Gists Created By You'
default: false
gistsStared:
description: 'set to true to mirror all Gists Stared By You'
default: false
repositoryStared:
description: 'set to true to mirror all Repository Stared By You'
default: false
repositorySource:
description: 'set to true to mirror all Repository Created By You'
default: false
repositoryForked:
description: 'set to true to mirror all Repository Forked By You'
default: false
localCache:
description: 'set to true to store all repos created in gitea'
default: false
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.gh_username }}
- ${{ inputs.gh_accesstoken }}
- ${{ inputs.gitea_host }}
- ${{ inputs.gitea_username }}
- ${{ inputs.gitea_accesstoken }}
- ${{ inputs.gitea_gist_prefix }}
- ${{ inputs.gitea_gist_surfix }}
- ${{ inputs.gistsSource }}
- ${{ inputs.gistsStared }}
- ${{ inputs.repositoryStared }}
- ${{ inputs.repositorySource }}
- ${{ inputs.repositoryForked }}
- ${{ inputs.localCache }}