Skip to content

Commit

Permalink
Merge pull request #1 from taichi-dev/comment
Browse files Browse the repository at this point in the history
test comment.yml
  • Loading branch information
archibate authored May 20, 2020
2 parents 742fd22 + 4732131 commit 9dbddef
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 29 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/comment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Comment Hooks
on:
issue_comment:
types: [created, edited]

jobs:
rebase:
name: Rebase
runs-on: ubuntu-latest
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: cirrus-actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

revert_commit:
name: Revert commit
runs-on: ubuntu-latest
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/revert')
steps:
- uses: actions/checkout@v2
- uses: srt32/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29 changes: 0 additions & 29 deletions .github/workflows/persubmit.yml

This file was deleted.

0 comments on commit 9dbddef

Please sign in to comment.