Unverified Commit 7e4245e6 authored by web3-bot's avatar web3-bot Committed by GitHub

update autorebase.yml: (#17)

parent 502ccc55
# Workflow managed by ipldbot. DO NOT EDIT.
# See https://github.com/ipld/.github/ for details.
# Workflow managed by web3-bot. DO NOT EDIT.
# See https://github.com/protocol/.github/ for details.
# Allow PRs opened by ipldbot to be rebased by commenting "@ipldbot rebase" on the PR.
# Allow PRs opened by web3-bot to be rebased by commenting "@web3-bot rebase" on the PR.
on:
issue_comment:
......@@ -11,15 +11,15 @@ 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')
if: github.event.issue.pull_request != '' && github.event.issue.user.login == 'web3-bot' && contains(github.event.comment.body, '@web3-bot rebase')
runs-on: ubuntu-latest
steps:
- name: Checkout the latest code
uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.IPLDBOT_GITHUB_TOKEN }}
token: ${{ secrets.WEB3BOT_GITHUB_TOKEN }}
- name: Automatic Rebase
uses: cirrus-actions/rebase@7cea12ac34ab078fa37e87798d8986185afa7bf2 # v1.4
env:
GITHUB_TOKEN: ${{ secrets.IPLDBOT_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.WEB3BOT_GITHUB_TOKEN }}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment