issuebot: add label for git repos with suspicious tag/branch names

parent a4705cc2
Pipeline #17933032 passed with stage
in 1 minute and 30 seconds
......@@ -204,6 +204,8 @@ for issue in rfp.issues.list(state='opened'):
report += "* %s (%s)\n" % (tag, ''.join(sorted(suspicious)))
if report:
report = '\n\n### Suspicious tag/branch names\n\n' + report
labels.add('suspicious-names')
if security or report:
note += '\n\n## Security Issues\n\n' + security + '\n\n' + report
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment