Skip to content

Commit

Permalink
Merge pull request #14 from ipld/ipldbot/update-autorebase
Browse files Browse the repository at this point in the history
update autorebase workflow
  • Loading branch information
rvagg authored Jan 9, 2021
2 parents ea2866b + ffefdec commit 48ba4d7
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/autorebase.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Workflow managed by ipldbot. DO NOT EDIT.
# See https://github.com/ipld/.github/ for details.

# Allow PRs opened by ipldbot to be rebased by commenting "@ipldbot rebase" on the PR.

on:
issue_comment:
types: [ created ]

name: Automatic Rebase
jobs:
rebase:
name: Rebase
if: github.event.issue.pull_request != '' && github.event.issue.user.login == 'ipldbot' && contains(github.event.comment.body, '@ipldbot rebase')
runs-on: ubuntu-latest
steps:
- name: Checkout the latest code
uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.IPLDBOT_GITHUB_TOKEN }}
- name: Automatic Rebase
uses: cirrus-actions/rebase@1.4
env:
GITHUB_TOKEN: ${{ secrets.IPLDBOT_GITHUB_TOKEN }}

0 comments on commit 48ba4d7

Please sign in to comment.