From 5c7cd2ba9256a4095b4f57a543a2291549fd7c80 Mon Sep 17 00:00:00 2001 From: zds <49744633+zds-s@users.noreply.github.com> Date: Sun, 23 Jun 2024 00:25:51 +0800 Subject: [PATCH] fix github actions (#102) --- .github/workflows/close-pull-request.yml | 2 ++ .github/workflows/release.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/close-pull-request.yml b/.github/workflows/close-pull-request.yml index c8182b8..7239c0b 100644 --- a/.github/workflows/close-pull-request.yml +++ b/.github/workflows/close-pull-request.yml @@ -1,5 +1,7 @@ name: Close Pull Request +permissions: write-all + on: pull_request_target: types: [ opened ] diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2fc8404..ae1823d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,7 @@ on: - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 name: Release +permissions: write-all jobs: release: