Skip to content

Commit 5a64596

Browse files
authored
ci: do not post if code generation is success (#96)
* ci: do not post if code generation is success * adding back the message * fix: regenerated mocks * ci: updated deleted message text
1 parent 89571c3 commit 5a64596

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/codegen_check.yaml

+2-3
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,5 @@ jobs:
4646
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2.5.0
4747
with:
4848
comment_tag: 'code_gen_${{ matrix.target }}'
49-
mode: upsert
50-
message: |
51-
It appears that the ${{ matrix.target }} code generation is up to date.
49+
mode: delete
50+
message: "The content of this message means nothing as the action will delete a message, not post it - I don't know why a message is needed here."

internal/mocks/HttpService.go

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)