about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-09-23 10:59:42 +0000
committerbors <bors@rust-lang.org>2024-09-23 10:59:42 +0000
commit09e81221eb334ce8557ec159abf0a2f3a7f198eb (patch)
tree7cb085541d80842480728d7e8aadabd5867e4ad9
parentc36614bbee1dc6ec1c9daac99a9d31fc20309be9 (diff)
parent51d90bbc8d6c2e4bbaaf4f9b1ef1c7b928826e51 (diff)
downloadrust-09e81221eb334ce8557ec159abf0a2f3a7f198eb.tar.gz
rust-09e81221eb334ce8557ec159abf0a2f3a7f198eb.zip
Auto merge of #3907 - RalfJung:perm, r=RalfJung
fix workflow permissions

Copied from https://github.com/rust-lang/docs.rs/pull/2611
-rw-r--r--src/tools/miri/.github/workflows/ci.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/miri/.github/workflows/ci.yml b/src/tools/miri/.github/workflows/ci.yml
index b9441236bcd..6e4815c0b91 100644
--- a/src/tools/miri/.github/workflows/ci.yml
+++ b/src/tools/miri/.github/workflows/ci.yml
@@ -13,7 +13,8 @@ on:
     - cron: '44 4 * * *' # At 4:44 UTC every day.
 
 permissions:
-  contents: write
+  contents: read
+  pull-requests: write
 
 defaults:
   run: