generated from DayDreamMods/action-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
35 lines (34 loc) · 1.02 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
name: 'copy-settings-action'
description: "A GitHub action that copies settings from one repository to another."
inputs:
token:
description: 'The token to use.'
require: false
default: ${{ github.token }}
source-repo:
description: 'The repository to obtain the rulesets from; Ensure the provided secret is able to access this.'
required: true
dest-repo:
description: 'The repository to copy the rulesets onto. Defaults to the current repository; Ensure the provided secret is able to access this.'
required: false
default: ''
settings:
description: 'A list of named settings to copy.'
required: false
default: |
homepage
default_branch
delete_branch_on_merge
allow_auto_merge
allow_merge_commit
allow_rebase_merge
allow_squash_merge
allow_update_branch
merge_commit_title
merge_commit_message
squash_merge_commit_title
squash_merge_commit_message
web_commit_signoff_required
runs:
using: 'node20'
main: 'index.js'