<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/69736>69736</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Add minimal permissions to new workflow, and suggest Scorecard Action
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
diogoteles08
</td>
</tr>
</table>
<pre>
Hi! I'm Diogo and I work at the same Google team as Joyce, who created the issue #60750.
I see that most of your GitHub workflows have minimal permissions correctly defined (as Joyce suggested on #60750), but the newly created workflow [libcxx-check-generated-files.yml](https://github.com/llvm/llvm-project/blob/main/.github/workflows/libcxx-check-generated-files.yml) is missing it. As it's a simple change, I'll take the liberty and submit a PR right away adding it.
Additionally, I'll suggest that you consider using the [OpenSSF Scorecard Action](https://github.com/ossf/scorecard-action), a tool that automatically evaluates the project's security posture and provide possible improvements directly at your [Security Panel](https://github.com/llvm/llvm-project/security). It's the tool that Joyce and I have used to spot the improvements suggested on our issues, and it'd be specially helpful to ensure you don't regress on the security measures you have already adopted =). Let me know if you have interest and I'd be happy to raise another PR installing it for you.
Thanks!
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJycVF9vpDYQ_zTel1FWYMKy-8DDphF3qSr11PQLDHgAN8ZGHpM9vn1lE5JLVenUviQSO575_ZtBZj1YolqUD6J8POASRudrpd3gAhni7HxonVrrr1rIHJ6ErCZ4jL8CWgVPcHP-BTBAGAkYJ4Ivzg2GIBBOgAy_urUjIX-B2-ig84SBVCrWzAuBkMUpq8rsKLJHkV23v0_ARBBGDDA5DuB6WN3i4YsOX5c2jeyNuzGM-EowaasnNDCTnzSzdpahc95TF8wKinptSYGQ5x0N8DIMxBGIs-8IhLxEmO2ycbF0M-s74H0kiPLB6Lb7_v2uG6l7uRvIko8ld702xMd1MqJ8FPI8hjCzKK5CNkI2gw7j0h47NwnZGPO6_7ubvfuLuiB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