Skip to content
This repository has been archived by the owner on Jan 17, 2022. It is now read-only.

autorebase: #17

Merged
merged 1 commit into from
Mar 29, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/autorebase.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 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:
Expand All @@ -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 }}