Skip to content

Commit

Permalink
fix: use double quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
jeetiss committed Dec 19, 2019
1 parent b67ea60 commit 84d9d92
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/shipjs-manual-prepare.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@

name: Ship js Manual Prepare
on:
issue_comment:
types: [created]
jobs:
manual_prepare:
if: |
github.event_name == 'issue_comment' &&
(github.event.comment.author_association == 'member' || github.event.comment.author_association == 'owner') &&
startsWith(github.event.comment.body, '@shipjs prepare')
github.event_name == "issue_comment" &&
(github.event.comment.author_association == "member" || github.event.comment.author_association == "owner") &&
startsWith(github.event.comment.body, "@shipjs prepare")
runs-on: Ubuntu-latest
steps:
- uses: actions/checkout@master
Expand All @@ -18,8 +17,8 @@ jobs:
- uses: actions/setup-node@master
- run: npm install
- run: |
git config --global user.email '[email protected]'
git config --global user.name 'jeetiss'
git config --global user.email "[email protected]"
git config --global user.name "jeetiss"
- run: npm run release:prepare -- --yes --no-browse
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
Expand All @@ -34,7 +33,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: comment '@${{ github.actor }} `shipjs prepare` done'
args: comment "@${{ github.actor }} `shipjs prepare` done"

create_fail_comment:
if: cancelled() || failure()
Expand All @@ -45,5 +44,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: comment '@${{ github.actor }} `shipjs prepare` fail'

args: comment "@${{ github.actor }} `shipjs prepare` fail"

0 comments on commit 84d9d92

Please sign in to comment.