[llvm] [workflows] Drop the intermediate /branch comment for release workflow (PR #79481)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 25 10:33:46 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 bb6a4850553dd4140a5bd63187ec1b14d0b731f9...7444bdade3efd0a7642230a3e15fb51163288f25 llvm/utils/git/github-automation.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- github-automation.py	2024-01-25 18:29:51.000000 +0000
+++ github-automation.py	2024-01-25 18:33:39.301272 +0000
@@ -308,11 +308,11 @@
     def issue_number(self) -> int:
         return self._issue_number
 
     @property
     def branch_repo_owner(self) -> str:
-        return self.branch_repo_name.split('/')[0]
+        return self.branch_repo_name.split("/")[0]
 
     @property
     def branch_repo_name(self) -> str:
         return self._branch_repo_name
 
@@ -475,11 +475,13 @@
         push_url = self.push_url
         print("Pushing to {} {}".format(push_url, branch_name))
         local_repo.git.push(push_url, "HEAD:{}".format(branch_name), force=True)
 
         self.issue_remove_cherry_pick_failed_label()
-        return self.create_pull_request(self.branch_repo_owner, self.repo_name, branch_name)
+        return self.create_pull_request(
+            self.branch_repo_owner, self.repo_name, branch_name
+        )
 
     def check_if_pull_request_exists(
         self, repo: github.Repository.Repository, head: str
     ) -> bool:
         pulls = repo.get_pulls(head=head)

``````````

</details>


https://github.com/llvm/llvm-project/pull/79481


More information about the llvm-commits mailing list