From a854c1fe709912cb31860bc60d64fa910b9d008b Mon Sep 17 00:00:00 2001 From: Alex <93376818+sashashura@users.noreply.github.com> Date: Mon, 29 Aug 2022 09:35:03 +0100 Subject: [PATCH] Update rebase.yml --- .github/workflows/rebase.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/rebase.yml b/.github/workflows/rebase.yml index 9025bf4828..34402e83b6 100644 --- a/.github/workflows/rebase.yml +++ b/.github/workflows/rebase.yml @@ -1,9 +1,14 @@ on: issue_comment: types: [created] +permissions: + contents: read name: Automatic Rebase jobs: rebase: + permissions: + contents: write # for cirrus-actions/rebase to push code to rebase + pull-requests: read # for cirrus-actions/rebase to get info about PR name: Rebase if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase') runs-on: ubuntu-latest