Commit 2e77c5f
authored
fix: remove unintended conditional grouping causing overtriggering (#553)
Previously testing if an issue comment was a PR and if the comment
started with `/bench` were grouped in the same expression and evaluated
to true for every PR comment.
The ${{ }} expression syntax is optional in `if` conditionals, so I
removed it. This wasn't caught initially as I always tested with
comments that started with `/bench`, and never with a comment that
shouldn't have triggered the benchmark.
Signed-off-by: Spencer Schrock <sschrock@google.com>1 parent 29ad412 commit 2e77c5f
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments