Skip to content

Commit 38da6c3

Browse files
authored
PYTHON-5747 Add jira link to spec resync PR (#2723)
1 parent 926541f commit 38da6c3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.evergreen/scripts/resync-all-specs.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
from argparse import Namespace
88
from subprocess import CalledProcessError
99

10+
JIRA_FILTER = "https://jira.mongodb.org/issues/?jql=labels%20%3D%20automated-sync%20AND%20status%20!%3D%20Closed"
11+
1012

1113
def resync_specs(directory: pathlib.Path, errored: dict[str, str]) -> None:
1214
"""Actually sync the specs"""
@@ -117,6 +119,7 @@ def write_summary(errored: dict[str, str], new: list[str], filename: str | None)
117119
pr_body += "\n -".join(new)
118120
pr_body += "\n"
119121
if pr_body != "":
122+
pr_body = f"Jira tickets: {JIRA_FILTER}\n\n" + pr_body
120123
if filename is None:
121124
print(f"\n{pr_body}")
122125
else:

0 commit comments

Comments
 (0)