diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 847182be1..766d64dce 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,6 +12,11 @@ on: env: BUILD_CACHE_KEY: ${{ github.sha }}-dist + +permissions: + contents: read + pull-requests: read + jobs: lint: runs-on: ubuntu-latest @@ -25,6 +30,9 @@ jobs: build: runs-on: ubuntu-latest + permissions: + actions: write + contents: read name: Build & Validate steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index 95c0aae2c..983c63872 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -4,6 +4,10 @@ on: pull_request: types: [opened, edited, synchronize, reopened] +permissions: + contents: read + pull-requests: read + jobs: pr-title: name: Validate PR Title diff --git a/.github/workflows/size.yml b/.github/workflows/size.yml index 6f593d79c..92ec10160 100644 --- a/.github/workflows/size.yml +++ b/.github/workflows/size.yml @@ -10,6 +10,10 @@ on: env: NODE_OPTIONS: --max_old_space_size=4096 +permissions: + contents: read + pull-requests: write + jobs: compressed-size: name: Compressed Size