Skip to content

Commit a6ad4d2

Browse files
committed
test(eval): avoid duplicate workflow annotation
1 parent 7314a18 commit a6ad4d2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/github-actions-reporter-example.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,5 @@ jobs:
4848
set -e
4949
5050
printf '%s\n' "$output"
51-
grep -F "::error title=case " <<<"$output" \
52-
| grep -F "errored::intentional error from the GitHub Actions reporter example"
51+
grep -Eq '^::error title=case [0-9]+ errored::intentional error from the GitHub Actions reporter example$' <<<"$output"
5352
test "$status" -ne 0

0 commit comments

Comments
 (0)