mirror of
https://github.com/logos-messaging/go-multiaddr.git
synced 2026-01-07 07:23:06 +00:00
add .github/workflows/autorebase.yml
This commit is contained in:
parent
d7d65e5590
commit
956e49a77d
25
.github/workflows/autorebase.yml
vendored
Normal file
25
.github/workflows/autorebase.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# File managed by web3-bot. DO NOT EDIT.
|
||||||
|
# See https://github.com/protocol/.github/ for details.
|
||||||
|
|
||||||
|
# Allow PRs opened by web3-bot to be rebased by commenting "@web3-bot 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 == '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.WEB3BOT_GITHUB_TOKEN }}
|
||||||
|
- name: Automatic Rebase
|
||||||
|
uses: cirrus-actions/rebase@7cea12ac34ab078fa37e87798d8986185afa7bf2 # v1.4
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.WEB3BOT_GITHUB_TOKEN }}
|
||||||
Loading…
x
Reference in New Issue
Block a user