-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathaction.yml
74 lines (73 loc) · 2.22 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
name: 'Repo Settings Sync'
description: 'Github Action to setup repository settings'
author: 'kbrashears5'
branding:
icon: 'upload-cloud'
color: 'purple'
inputs:
REPOSITORIES:
description: 'Github repositories to setup. Default will get all public repositories for your username'
required: false
default: 'ALL'
ALLOW_ISSUES:
description: 'Whether or not to allow issues on the repo'
required: false
default: 'true'
ALLOW_PROJECTS:
description: 'Whether or not to allow projects on the repo'
required: false
default: 'true'
ALLOW_WIKI:
description: 'Whether or not to allow wiki on the repo'
required: false
default: 'true'
SQUASH_MERGE:
description: 'Whether or not to allow squash merges on the repo'
required: false
default: 'true'
MERGE_COMMIT:
description: 'Whether or not to allow merge commits on the repo'
required: false
default: 'true'
REBASE_MERGE:
description: 'Whether or not to allow rebase merges on the repo'
required: false
default: 'true'
AUTO_MERGE:
description: 'Whether or not to allow auto-merge on the repo'
required: false
default: 'false'
DELETE_HEAD:
description: 'Whether or not to delete head branch after merges'
required: false
default: 'false'
BRANCH_PROTECTION_ENABLED:
description: 'Whether or not to enable branch protection'
required: false
default: 'false'
BRANCH_PROTECTION_NAME:
description: 'Branch name pattern for branch protection rule'
required: false
default: 'main'
BRANCH_PROTECTION_REQUIRED_REVIEWERS:
description: 'Number of required reviewers for branch protection rule'
required: false
default: '1'
BRANCH_PROTECTION_DISMISS:
description: 'Dismiss stale pull request approvals when new commits are pushed'
required: false
default: 'true'
BRANCH_PROTECTION_CODE_OWNERS:
description: 'Require review from Code Owners'
required: false
default: 'true'
BRANCH_PROTECTION_ENFORCE_ADMINS:
description: 'Enforce branch protection rules for repo admins'
required: false
default: 'false'
TOKEN:
description: 'Personal access token with Repo privileges'
required: true
runs:
using: 'docker'
image: 'Dockerfile'