[llvm] Reapply [workflows] Split pr-code-format into two parts to make it more secure (#78215) (PR #80495)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 3 23:44:18 PST 2024


================
@@ -27,12 +25,14 @@ jobs:
           separator: ","
           skip_initial_fetch: true
 
-      # We need to make sure that we aren't executing/using any code from the
-      # PR for security reasons as we're using pull_request_target. Checkout
-      # the target branch with the necessary files.
+      # We need to pull the script from the main branch, so that we ensure
+      # we get a version of the script that supports the --wirte-comment-to-file
----------------
boomanaiden154 wrote:

Typo here (`--wirte`->`--write`)

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


More information about the llvm-commits mailing list