From 8e9aa49d61d981af1933d57bcd75ae074c73e12d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 14 Jan 2025 20:18:56 -0500 Subject: [PATCH] test when build does not exist [skip ci] --- tasks/release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/release.py b/tasks/release.py index be29977a4d1a21..e966028664cd8a 100644 --- a/tasks/release.py +++ b/tasks/release.py @@ -1291,7 +1291,7 @@ def check_previous_agent6_rc(ctx): github = GithubAPI() prs = github.get_pr_for_branch(None, "6.53.x") for pr in prs: - if "Update release.json and Go modules for 6.53" in pr.title: + if "Update release.json and Go modules for 6.53" in pr.title and not pr.draft: agent6_prs += f"\n- {pr.title}: https://github.com/DataDog/datadog-agent/pull/{pr.number}" if agent6_prs: err_msg += "AGENT 6 ERROR: The following Agent 6 release candidate PRs already exist. Please address these PRs before creating a new release candidate"