Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Rebase fails on forks #88

Open
NotMyFault opened this issue Jan 17, 2022 · 0 comments
Open

Rebase fails on forks #88

NotMyFault opened this issue Jan 17, 2022 · 0 comments

Comments

@NotMyFault
Copy link

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/checkout@v2.4.0
        with:
          token: ${{ secrets.REBASE_TOKEN }}
          fetch-depth: 0
      - name: Automatic Rebase
        uses: cirrus-actions/rebase@1.5
        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: IntellectualSites/PlotSquared#3452 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant