Rank an issue the loop files in Jira by its score among the issues the loop filed, a security finding first
CI / tests (pull_request) Successful in 2m8s

This commit is contained in:
2026-11-16 02:41:43 +01:00
parent 9d685c52b3
commit 2db4759c2a
15 changed files with 361 additions and 71 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ class Main(unittest.TestCase):
with tempfile.TemporaryDirectory() as temp:
config = configured(self, pathlib.Path(temp)) / "config.toml"
self.enterContext(contextlib.chdir(temp))
config.write_text(config.read_text().replace('"checkout:todo.md"', '"jira:https://acme.atlassian.net/browse/ABC-12"') + 'env-file = "~/acme.env"\n')
config.write_text(config.read_text().replace('"checkout:todo.md"', '"jira:https://acme.atlassian.net/browse/ABC-12"') + 'env-file = "~/acme.env"\njira-score-formula = "V"\njira-score-bar = 1\n')
todo = pathlib.Path(temp, "todo.md")
todo.write_text(TODO)
for args in ((), (str(todo),), ("--check", str(todo))):