Skip to content

Commit

Permalink
only when comment is created
Browse files Browse the repository at this point in the history
  • Loading branch information
rberrelleza committed Nov 2, 2023
1 parent 4fc0c94 commit 731603f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
preview_on_pr:
if: ${{ (github.event.issue.pull_request) && contains(github.event.comment.body, '/preview') }}
if: ${{ (github.event.issue.pull_request) }}
runs-on: ubuntu-latest
steps:
- name: Context
Expand Down

0 comments on commit 731603f

Please sign in to comment.