From: Nextcloud bot Date: Sat, 11 Jun 2022 15:15:02 +0000 (+0000) Subject: Updating command-rebase.yml workflow from template X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~15^2~136^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9b0591a39a0dbe387b6e3872e63510366e2024d6;p=nextcloud-desktop.git Updating command-rebase.yml workflow from template Signed-off-by: Nextcloud bot --- diff --git a/.github/workflows/command-rebase.yml b/.github/workflows/command-rebase.yml index a99b3d633..78fcf5d19 100644 --- a/.github/workflows/command-rebase.yml +++ b/.github/workflows/command-rebase.yml @@ -9,9 +9,14 @@ on: issue_comment: types: created +permissions: + contents: read + jobs: rebase: runs-on: ubuntu-latest + permissions: + contents: none # On pull requests and if the comment starts with `/rebase` if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/rebase') @@ -31,11 +36,8 @@ jobs: fetch-depth: 0 token: ${{ secrets.COMMAND_BOT_PAT }} - - name: Fix permissions - run: git config --global --add safe.directory /github/workspace - - name: Automatic Rebase - uses: cirrus-actions/rebase@1.5 + uses: cirrus-actions/rebase@1.7 env: GITHUB_TOKEN: ${{ secrets.COMMAND_BOT_PAT }}