|
1 | 1 | package cmd |
2 | 2 |
|
3 | 3 | const ( |
4 | | - DefaultConfigFile = "gitea-config-wave.yaml" |
5 | | - DefaultOutputDir = ".gitea/defaults" |
6 | | - DefaultRepoSettingsFile = "repo_settings.yaml" |
7 | | - DefaultBranchProtectionsFile = "branch_protections.yaml" |
8 | | - DefaultTagProtectionsFile = "tag_protections.yaml" |
9 | | - DefaultWebhooksFile = "webhooks.yaml" |
10 | | - DefaultTopicsFile = "topics.yaml" |
| 4 | + DefaultConfigFile = "gitea-config-wave.yaml" |
| 5 | + DefaultOutputDir = ".gitea/defaults" |
| 6 | + DefaultRepoSettingsFile = "repo_settings.yaml" |
| 7 | + DefaultBranchProtectionsFile = "branch_protections.yaml" |
| 8 | + DefaultTagProtectionsFile = "tag_protections.yaml" |
| 9 | + DefaultWebhooksFile = "webhooks.yaml" |
| 10 | + DefaultTopicsFile = "topics.yaml" |
| 11 | + DefaultTemplatesFile = "templates.yaml" |
| 12 | + DefaultTemplatesUpdateBranchName = "gitea-config-wave/sync-templates" |
| 13 | + DefaultTemplatesUpdateCommitMessage = "chore(docs): update PR and issue templates" |
| 14 | + DefaultTemplatesUpdatePRDescription = `# Gitea Config Wave - Issue/PR Templates Sync |
| 15 | +This PR is automatically created by [Gitea Config Wave](https://github.com/dualstacks/gitea-config-wave) to sync issue and PR templates. |
| 16 | +` |
11 | 17 | DefaultTopicsUpdateStrategy = UpdateStrategyAppend |
12 | 18 | DefaultBranchProtectionsUpdateStrategy = UpdateStrategyAppend |
13 | 19 | DefaultTagProtectionsUpdateStrategy = UpdateStrategyAppend |
14 | 20 | DefaultWebhooksUpdateStrategy = UpdateStrategyAppend |
| 21 | + DefaultTemplatesUpdateStrategy = UpdateStrategyReplace |
15 | 22 | ) |
16 | 23 |
|
17 | 24 | type UpdateStrategy string |
|
0 commit comments