From 6a7b359fcce602316d017b99a74c977be204b8bf Mon Sep 17 00:00:00 2001 From: Bonjour LI <33248848+bonjour-py@users.noreply.github.com> Date: Mon, 20 Apr 2026 09:15:23 +0800 Subject: [PATCH] CI: Explicitly define GitHub token permissions in config (#9155) GitHub has updated its behavior: new forks no longer inherit the original repository's GitHub token permissions. To ensure consistent access, this change explicitly defines the required permissions in the configuration file. --- .github/workflows/build-all.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build-all.yml b/.github/workflows/build-all.yml index 09e84f1d..c7d486bf 100644 --- a/.github/workflows/build-all.yml +++ b/.github/workflows/build-all.yml @@ -7,6 +7,9 @@ on: required: false type: string +permissions: + actions: write + jobs: update: runs-on: ubuntu-latest