瀏覽代碼

Merge pull request #10376 from nextcloud/feat/workflow-auto-update-command-rebase.yml

Updating command-rebase.yml workflow from template
Álvaro Brey 2 年之前
父節點
當前提交
29bf03a4e4
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      .github/workflows/command-rebase.yml

+ 5 - 0
.github/workflows/command-rebase.yml

@@ -9,9 +9,14 @@ on:
   issue_comment:
     types: created
 
+permissions:	
+  contents: read	
+
 jobs:
   rebase:
     runs-on: ubuntu-latest
+    permissions:
+      contents: none
 
     # On pull requests and if the comment starts with `/rebase`
     if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/rebase')