From fdd8ad1f7ecd96e1f710ffbc81db12cf164b6592 Mon Sep 17 00:00:00 2001 From: pasta Date: Sat, 17 Jul 2021 16:51:25 -0500 Subject: [PATCH] rebase Signed-off-by: pasta --- .github/workflows/rebase.yml | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/.github/workflows/rebase.yml b/.github/workflows/rebase.yml index 2bcc9cd12251ca..db5203798e1eee 100644 --- a/.github/workflows/rebase.yml +++ b/.github/workflows/rebase.yml @@ -2,24 +2,10 @@ name: Automatic Rebase on: issue_comment: types: [created] - -#permissions: - #contents: write - #pull-requests: write - #issues: read - # Enforce other not needed permissions are off - #actions: none - #checks: none - #deployments: none - #packages: none - #repository-projects: none - #security-events: none - #statuses: none - jobs: rebase: name: Rebase - if: github.event.comment.author_association == 'COLLABORATOR' && github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase') + if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase') runs-on: ubuntu-latest steps: - name: Checkout the latest code @@ -28,6 +14,6 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} fetch-depth: 0 # otherwise, you will fail to push refs to dest repo - name: Automatic Rebase - uses: cirrus-actions/rebase@1.5 + uses: cirrus-actions/rebase@1.4 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file