From 165ebdf18892ecfb0db527ee41d93bb7b05e7d3e Mon Sep 17 00:00:00 2001 From: Akash Singh Date: Tue, 18 Jun 2024 18:59:41 +0530 Subject: [PATCH] Define top level Permission for ci.yml workflow Signed-off-by: Akash Singh --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6ca5462ad790..4f38aea07d48 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,6 +12,8 @@ on: concurrency: group: ${{ github.workflow }}-${{ github.actor }}-${{ github.head_ref || github.run_id }} cancel-in-progress: true +permissions: + contents: read # for actions/checkout to fetch code jobs: golangci: name: lint