summary refs log tree commit diff
path: root/.github/workflows/periodic-merge-6h.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/periodic-merge-6h.yml')
-rw-r--r--.github/workflows/periodic-merge-6h.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/periodic-merge-6h.yml b/.github/workflows/periodic-merge-6h.yml
index 5588d216ea030..bcc9f48835883 100644
--- a/.github/workflows/periodic-merge-6h.yml
+++ b/.github/workflows/periodic-merge-6h.yml
@@ -14,8 +14,14 @@ on:
     # Merge every 6 hours
     - cron:  '0 */6 * * *'
 
+permissions:
+  contents: read
+
 jobs:
   periodic-merge:
+    permissions:
+      contents: write  # for devmasx/merge-branch to merge branches
+      issues: write  # for peter-evans/create-or-update-comment to create or update comment
     if: github.repository_owner == 'NixOS'
     runs-on: ubuntu-latest
     strategy: