def detect_file_triggers(trigger_patterns):
triggers = set()<EOL>for trigger, pattern in trigger_patterns.items():<EOL><INDENT>matches = glob.glob(pattern)<EOL>if matches:<EOL><INDENT>_LOG.debug("<STR_LIT>", trigger, pattern, matches)<EOL>triggers.add(trigger)<EOL><DEDENT>else:<EOL><INDENT>_LOG.debug("<STR_LIT>", pattern)<EOL><DEDENT><DEDENT>return triggers<EOL>
The existence of files matching configured globs will trigger a version bump