Skip to content

Commit c58a8b4

Browse files
committed
notify with reaction if a wrong regex
1 parent 9e3c64a commit c58a8b4

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/tav-command.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,17 @@ jobs:
7171
core.setOutput('modules', modules)
7272
core.setOutput('versions', versions)
7373
74+
- name: Notify - failure
75+
if: failure()
76+
uses: actions/github-script@v6
77+
with:
78+
script: |
79+
await github.rest.reactions.createForIssueComment({
80+
...context.repo,
81+
comment_id: context.payload.comment.id,
82+
content: '-1',
83+
})
84+
7485
test-tav:
7586
needs: command-validation
7687
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)