]> git.proxmox.com Git - mirror_lxcfs.git/blobdiff - .github/workflows/commits.yml
github: Restrict permissions
[mirror_lxcfs.git] / .github / workflows / commits.yml
index c899249256eb8633cd64462e6ec4b952b1c3ee01..94d906b94d91d9f2972677b3c7cdd85714bc0fd4 100644 (file)
@@ -2,8 +2,13 @@ name: Commits
 on:
   - pull_request
 
+permissions:
+  contents: read
+
 jobs:
   dco-check:
+    permissions:
+      pull-requests: read  # for tim-actions/get-pr-commits to get list of commits from the PR
     name: Signed-off-by (DCO)
     runs-on: ubuntu-20.04
     steps: