1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-17 12:41:44 +02:00

update comment workflow

This commit is contained in:
Ian Storm Taylor
2021-04-07 10:58:56 -04:00
parent 31fb3c91d2
commit cfdbc51f12

View File

@@ -10,9 +10,7 @@ jobs:
rebase: rebase:
name: rebase name: rebase
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: | if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/rebase')
github.event.issue.pull_request != '' &&
startsWith(github.event.comment.body, '/rebase')
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v2 uses: actions/checkout@v2
@@ -27,10 +25,7 @@ jobs:
release_next: release_next:
name: release:next name: release:next
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: | if: github.event.issue.pull_request != '' && github.event.sender.login === 'ianstormtaylor' && startsWith(github.event.comment.body, '/release:next')
github.event.issue.pull_request != '' &&
github.event.sender.login === 'ianstormtaylor' &&
startsWith(github.event.comment.body, '/release:next')
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v2 uses: actions/checkout@v2