Skip to content

Commit

Permalink
test when build does not exist [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 15, 2025
1 parent 3d147a5 commit ea10984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 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"
Expand Down

0 comments on commit ea10984

Please sign in to comment.