Browse Source

ci: add GitHub token permissions for workflow (#24332)

Signed-off-by: Varun Sharma <[email protected]>
Varun Sharma 3 years ago
parent
commit
a784eb44fd
1 changed files with 3 additions and 0 deletions
  1. 3 0
      .github/workflows/ci.yml

+ 3 - 0
.github/workflows/ci.yml

@@ -12,6 +12,9 @@ on:
       - 'docs/**'
       - 'files/**'
 
+permissions:
+  contents: read
+
 jobs:
 
   lint: