1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-17 20:51:20 +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:
name: rebase
runs-on: ubuntu-latest
if: |
github.event.issue.pull_request != '' &&
startsWith(github.event.comment.body, '/rebase')
if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/rebase')
steps:
- name: Checkout repo
uses: actions/checkout@v2
@@ -27,10 +25,7 @@ jobs:
release_next:
name: release:next
runs-on: ubuntu-latest
if: |
github.event.issue.pull_request != '' &&
github.event.sender.login === 'ianstormtaylor' &&
startsWith(github.event.comment.body, '/release:next')
if: github.event.issue.pull_request != '' && github.event.sender.login === 'ianstormtaylor' && startsWith(github.event.comment.body, '/release:next')
steps:
- name: Checkout repo
uses: actions/checkout@v2