Browse Source

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

Updating command-rebase.yml workflow from template
Álvaro Brey 2 years ago
parent
commit
29bf03a4e4
1 changed files with 5 additions and 0 deletions
  1. 5 0
      .github/workflows/command-rebase.yml

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

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