Skip to content

Commit

Permalink
ci: fix single quotes in label automation
Browse files Browse the repository at this point in the history
  • Loading branch information
moabu authored Jul 25, 2022
1 parent 2b29f4f commit 196a27f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions automation/github-labels/label.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ def auto_label(operation="pr", issue_or_pr_number=None, pr_modified_file_paths=N
string_of_labels = ",".join(list(dict.fromkeys(labels)))
try:
print(f"gh {operation} edit {issue_or_pr_number} --add-label '{string_of_labels}' "
f"--add-project 'janssen-issue-dashboard'")
f"--add-project janssen-issue-dashboard")
exec_cmd(f"gh {operation} edit {issue_or_pr_number} --add-label '{string_of_labels}' "
f"--add-project 'janssen-issue-dashboard'")
f"--add-project janssen-issue-dashboard")
except Exception as e:
print(f"Couldn't add the label to the PR {issue_or_pr_number} because {e}")

Expand Down

0 comments on commit 196a27f

Please sign in to comment.