-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
53 lines (52 loc) · 1.65 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: 'Github Workflow Sync'
description: 'Github Action To Sync Github Actions Workflow Files Across Repositories'
author: 'mo-auto'
branding:
icon: 'upload-cloud'
color: 'blue'
inputs:
REPOSITORIES:
description: 'Github Repos To Sync To'
default: ''
required: true
WORKFLOW_FILES:
description: 'Local Workflow Files To Sync'
default: ''
required: true
WORKFLOW_FILES_DIR:
description: 'Local Path Where Common Workflow Files Are Located'
default: 'workflows'
required: false
GITHUB_TOKEN:
description: "Token to use to get repos and write secrets"
required: true
GPG_KEY_ID:
description: "GPG key id to use for signing commits"
required: true
DRY_RUN:
description: "Run everything except for nothing will be Updated."
required: false
default: 'false'
AUTO_CREATE_NEW_BRANCH:
description: "Auto Create New Branch If Not Exists ?"
required: false
default: 'false'
COMMIT_EACH_FILE:
description: "If set to true then all files are commited 1 by 1 instead of commiting everything @ once"
required: false
default: 'false'
PULL_REQUEST:
description: "Whether or not you want to do a pull request. Only works when branch name is provided. Default false"
required: false
default: 'false'
SKIP_CI:
description: "Adds [skip ci] to commit message which will avoid running github actions in targer repository"
required: false
default: 'false'
COMMIT_MESSAGE:
description: "Provide your own custom commit MESSAGE"
required: false
default: 'false'
runs:
using: 'node12'
main: 'dist/index.js'