Add workflow permissions for security

Co-authored-by: vincanger <70215737+vincanger@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-11-14 13:41:02 +00:00
parent ff4c04d691
commit 99416fa666

View File

@@ -10,6 +10,8 @@ jobs:
prettier:
name: Prettier Check
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
@@ -28,6 +30,8 @@ jobs:
eslint:
name: ESLint Check
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4