Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Hoyos <juan.s.hoyos@outlook.com>2021-11-16 00:38:50 +0300
committerGitHub <noreply@github.com>2021-11-16 00:38:50 +0300
commit9fceaa0f4b4a5b8dfabdcf39c13054ae5c314e91 (patch)
tree3899405874e0f7d981c158ae72956b8db671469d /.github
parentfb6cf5cc8b045360f01fc2826d8fd5c342c26d5f (diff)
Give write access to backport action explicitly (#61626)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/backport.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml
index 9699f4db669..e172c71e265 100644
--- a/.github/workflows/backport.yml
+++ b/.github/workflows/backport.yml
@@ -3,6 +3,11 @@ on:
issue_comment:
types: [created]
+permissions:
+ contents: write
+ issues: read
+ pull-requests: write
+
jobs:
backport:
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/backport to')