[llvm] [workflows] Close issues used for backports once the PR has been created (PR #80394)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 1 22:26:19 PST 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r dee8786f70a3d62b639113343fa36ef55bdbad63...e853ba57f58623e32dffc8c1bee6b68dc2f5ef4b llvm/utils/git/github-automation.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- github-automation.py 2024-02-02 05:26:47.000000 +0000
+++ github-automation.py 2024-02-02 06:26:12.340683 +0000
@@ -577,11 +577,11 @@
pull.as_issue().edit(milestone=self.issue.milestone)
# Once the pull request has been created, we can close the
# issue that was used to request the cherry-pick
- self.issue.edit(state='closed', state_reason='completed')
+ self.issue.edit(state="closed", state_reason="completed")
try:
self.pr_request_review(pull)
except Exception as e:
print("error: Failed while searching for reviewers", e)
``````````
</details>
https://github.com/llvm/llvm-project/pull/80394
More information about the llvm-commits
mailing list