]> source.dussan.org Git - jquery-ui.git/commitdiff
Build: Set minimum permission for GitHub Actions Token
authorAshish Kurmi <100655670+boahc077@users.noreply.github.com>
Thu, 1 Dec 2022 12:53:34 +0000 (04:53 -0800)
committerGitHub <noreply@github.com>
Thu, 1 Dec 2022 12:53:34 +0000 (13:53 +0100)
Closes gh-2129

Signed-off-by: Ashish Kurmi <akurmi@stepsecurity.io>
.github/workflows/test.yml

index a513e67538fef8478cafc98e6f36d2a3d00ecdc6..9e16860c69a75cfdf46f12b1cd0036d9323ad71b 100644 (file)
@@ -2,6 +2,9 @@ name: Grunt tests
 
 on: [push, pull_request]
 
+permissions:
+  contents: read
+
 jobs:
   grunt:
     name: Grunt based tests with Node.js ${{ matrix.node-version }}