Skip to content

Commit

Permalink
move rebase bot to workflows folder
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Sep 18, 2020
1 parent 1ef6c44 commit 87c664d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/rebase.yml → .github/workflows/rebase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ name: Automatic Rebase
jobs:
rebase:
name: Rebase
if: github.event.issue.pull_request != '' && github.event.comment.author_association == 'MEMBER' && contains(github.event.comment.body, '/rebase')
if: github.event.issue.pull_request != '' && github.event.comment.author_association == 'OWNER' && contains(github.event.comment.body, '/rebase')
runs-on: ubuntu-latest
steps:
- name: Checkout the latest code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Automatic Rebase
uses: cirrus-actions/rebase@1
uses: cirrus-actions/rebase@1.3.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 87c664d

Please sign in to comment.