rebase icon indicating copy to clipboard operation
rebase copied to clipboard

Rebase fails on forks

Open NotMyFault opened this issue 3 years ago • 0 comments

Heyo,

I have the following rebase configuration

name: Rebase Pull Request
on:
  issue_comment:
    types: [created]

jobs:
  rebase:
    name: Rebase
    if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase') && github.event.comment.author_association == 'MEMBER'
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Repository
        uses: actions/[email protected]
        with:
          token: ${{ secrets.REBASE_TOKEN }}
          fetch-depth: 0
      - name: Automatic Rebase
        uses: cirrus-actions/[email protected]
        env:
          GITHUB_TOKEN: ${{ secrets.REBASE_TOKEN }}

Yet "GitHub doesn't think that the PR is rebaseable!" when I or other organization members attempt to rebase PRs, which are submit from forks. Did I configure something wrong, that it doesn't work on forks? The action failure in question can be obtained here: https://github.com/IntellectualSites/PlotSquared/runs/4839797347?check_suite_focus=true My comment, as an organization member and administrator, here: https://github.com/IntellectualSites/PlotSquared/pull/3452#issuecomment-1014397059

NotMyFault avatar Jan 17 '22 11:01 NotMyFault