From 46925dd6e768c3077c37ba0df848f4d2f626aaeb Mon Sep 17 00:00:00 2001 From: sapphi-red <49056869+sapphi-red@users.noreply.github.com> Date: Wed, 26 Mar 2025 15:42:31 +0900 Subject: [PATCH] ci: set permissions --- .github/workflows/ci.yml | 1 + .github/workflows/publish.yml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8549466..8ab2a62 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,7 @@ on: pull_request: branches: - main +permissions: {} jobs: ci: runs-on: ubuntu-latest diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 43e147c..dc0b054 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,6 +9,9 @@ jobs: publish: runs-on: ubuntu-latest environment: Release + permissions: + contents: read + id-token: write steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4