Files
Gauthier 8f6b6f06cc ci: fix token permissions (#55)
Potential fix for
[https://github.com/sripwoud/ts-template/security/code-scanning/1](https://github.com/sripwoud/ts-template/security/code-scanning/1)

To resolve this issue, add an explicit `permissions` block at the top
level of the workflow (or for the single job), assigning only the
minimal permissions needed. Since this workflow uses an action to check
the PR title formatting and does not appear to need to write to the repo
or PR (e.g., comment, label, merge), it likely only needs to read pull
request metadata. Therefore, set `contents: read` and `pull-requests:
read` for the workflow. Update `.github/workflows/semantic-pr.yml` by
adding this block after the `name:` line and before the `on:` line. No
additional imports or definitions are required.

---


_Suggested fixes powered by Copilot Autofix. Review carefully before
merging._

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-09-22 09:22:07 +02:00
..
2025-09-22 09:22:07 +02:00