1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-02-24 01:02:31 +01:00
slate/.github/workflows/comment.yml

21 lines
494 B
YAML
Raw Normal View History

# https://github.com/marketplace/actions/automatic-rebase (https://github.com/cirrus-actions/rebase)
2021-04-01 02:04:28 -04:00
name: Comment Automation
on:
issue_comment:
2021-03-29 17:07:39 -04:00
types:
- created
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
rebase:
runs-on: ubuntu-latest
2021-03-29 17:07:39 -04:00
if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/rebase')
steps:
2021-03-29 17:07:39 -04:00
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: cirrus-actions/rebase@1.3.1