From 05a2e4ee9b980438d151e5d747f724d3f0a3c19a Mon Sep 17 00:00:00 2001 From: Hao Yao Date: Mon, 26 Feb 2024 15:28:44 +0800 Subject: [PATCH] ci: Fix Github token permissions restriction Signed-off-by: Hao Yao --- .github/workflows/build-tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-tests.yml b/.github/workflows/build-tests.yml index f273dc5e..5bd0dc9a 100644 --- a/.github/workflows/build-tests.yml +++ b/.github/workflows/build-tests.yml @@ -7,6 +7,8 @@ on: pull_request: +permissions: {} + jobs: build: strategy: @@ -16,7 +18,7 @@ jobs: runs-on: ubuntu-latest container: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build test for ${{ matrix.version }} on ${{ matrix.os }} timeout-minutes: 10 run: |