From a91f4f76f8b51e501ccb2d7bcb33e17e0f914180 Mon Sep 17 00:00:00 2001 From: Changhua Date: Thu, 24 Apr 2025 15:32:06 +0800 Subject: [PATCH] chore(ci): fix cache --- .github/workflows/ci.yml | 4 ++++ .github/workflows/release.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7a4e735..e90dd0c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,10 @@ on: branches: - master +permissions: + contents: read + actions: write + jobs: build: uses: ./.github/workflows/build-ci.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7e96046..1d34212 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,10 @@ on: tags: - "v[0-9]+.[0-9]+.[0-9]+" +permissions: + contents: read + actions: write + jobs: build: uses: ./.github/workflows/build-ci.yml