[llvm] [CI] Make email check workflow fail when author's email is private in Github UI (PR #148694)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 16 09:10:05 PDT 2025


================
@@ -20,14 +20,30 @@ jobs:
 
       - name: Extract author email
         id: author
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
----------------
boomanaiden154 wrote:

`secrets.GITHUB_TOKEN` is one that is manually created. Try swapping it for `github.token` which is the ephemeral token that is normally in `GITHUB_TOKEN`. `github.token` will also be limited in scope to the permissions requested in the workflow/job.

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


More information about the llvm-commits mailing list