[llvm] [GitHub] Set top level token permission (PR #87326)

via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 2 01:58:55 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-github-workflow

Author: Marius Brehler (marbre)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/87326.diff


1 Files Affected:

- (modified) .github/workflows/pr-code-format.yml (+4) 


``````````diff
diff --git a/.github/workflows/pr-code-format.yml b/.github/workflows/pr-code-format.yml
index 10b18f245d8965..983838858ba43e 100644
--- a/.github/workflows/pr-code-format.yml
+++ b/.github/workflows/pr-code-format.yml
@@ -1,4 +1,8 @@
 name: "Check code formatting"
+
+permissions:
+  contents: read
+
 on:
   pull_request:
     branches:

``````````

</details>


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


More information about the llvm-commits mailing list