From 47912f17e7ebced61f4030b8775442c13b309ac0 Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Thu, 4 Jan 2024 14:24:36 +0900 Subject: [PATCH] ci: restrict the job permission for security This workflow doesn't require any permissions. --- .github/workflows/test.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index d574fdc..7e2e4af 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -4,6 +4,7 @@ on: pull_request jobs: test: runs-on: ubuntu-latest + permissions: {} steps: - uses: actions/checkout@v4.1.1 - uses: actions/setup-go@v5.0.0