From 685fd9261a5b0bb679759cd9b3c4f0f83ba1a4da Mon Sep 17 00:00:00 2001 From: Carl Zhang Date: Wed, 5 Jun 2024 22:18:01 +0800 Subject: [PATCH] ci:correct the permission of workflows using read-all access for all of the available scopes Signed-off-by: Carl Zhang --- .github/workflows/freebsd.yml | 2 +- .github/workflows/ubuntu.yml | 2 +- .github/workflows/windows.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.yml index a126c67..7b0e14a 100644 --- a/.github/workflows/freebsd.yml +++ b/.github/workflows/freebsd.yml @@ -10,7 +10,7 @@ on: - '.github/workflows/**' - '!.github/workflows/freebsd.yml' -permissions: read +permissions: read-all jobs: freebsd: diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 5061e9b..a5eebb3 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -10,7 +10,7 @@ on: - '.github/workflows/**' - '!.github/workflows/ubuntu.yml' -permissions: read +permissions: read-all jobs: ubuntu-20-04: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 4d6dfc9..9fed962 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -12,7 +12,7 @@ on: - '!.github/workflows/windows.yml' - '!.github/workflows/EnterDevShell.ps1' -permissions: read +permissions: read-all jobs: windows-msvc: