forked from varunsridharan/action-github-workflow-sync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
58 lines (57 loc) · 1.85 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
name: 'Github Workflow Sync'
description: 'Github Action To Sync Github Actions Workflow Files Across Repositories'
author: 'varunsridharan'
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
GIT_URL:
description: "The URL to the Github server. Defaults to github.com. Change if using a GHES instance."
default: 'github.com'
required: false
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'
RETRY_MODE:
description: "Enable retry and throttling octokit plugins to avoid secondary rate limits on github content creation"
required: false
default: 'true'
runs:
using: 'node20'
main: 'dist/index.js'