Add `permissions` to GitHub Action Workflows
authorTim Düsterhus <duesterhus@woltlab.com>
Mon, 11 Oct 2021 14:39:29 +0000 (16:39 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Mon, 11 Oct 2021 14:39:46 +0000 (16:39 +0200)
.github/workflows/deploy.yml
.github/workflows/test.yml

index 28c69f03732e8a779d6899c839bf5541266c5fe3..8575b4d4489a16e39f8f3464473269866299f668 100644 (file)
@@ -6,6 +6,9 @@ on:
     - '5.4'
     - '5.5'
 
+permissions:
+  contents: write
+
 jobs:
   deploy:
     concurrency:
index 8301d484601f4ee26b7ade954c7af2b114c11d8d..6e36f867fdbca0f2f3af36c54a41e83ad259cdc6 100644 (file)
@@ -7,6 +7,9 @@ on:
     - 'target'
   pull_request:
 
+permissions:
+  contents: read
+
 jobs:
   test:
     name: Test