do not overwrite packit.yaml and its variants

https://packit.dev/docs/configuration/
packit.yaml can be used in dist-git for pull-from-upstream and for creating builds, or bodhi updates
This commit is contained in:
Miroslav Suchý 2023-03-16 19:04:00 +01:00 committed by Jakub Kadlčík
parent df726d0bd0
commit d7e329f4fb

View file

@ -29,7 +29,8 @@ from tito.exception import TitoException
from tito.config_object import ConfigObject
# List of files to protect when syncing:
PROTECTED_BUILD_SYS_FILES = ('branch', 'Makefile', 'sources', ".git", ".gitignore", ".osc", "tito-mead-url", "tests", "gating.yaml")
PROTECTED_BUILD_SYS_FILES = ('branch', 'Makefile', 'sources', ".git", ".gitignore", ".osc", "tito-mead-url",
"tests", "gating.yaml", ".packit.yaml", ".packit.yml", "packit.yaml", "packit.yml")
RSYNC_USERNAME = 'RSYNC_USERNAME' # environment variable name