From 0f67b9a00d46df1f0e47b419d57fe1c89259ab13 Mon Sep 17 00:00:00 2001 From: Daniel Ziegenberg Date: Fri, 29 Nov 2024 20:49:38 +0100 Subject: [PATCH] Fix pipelines adding comments When updating `thollander/actions-comment-pull-request` to `v3` the underscore in `comment_tag` no longer works because now it's a dash and we have to use `comment-tag`. The README.md was fixed with this PR https://github.com/thollander/actions-comment-pull-request/issues/397. Signed-off-by: Daniel Ziegenberg --- .github/workflows/deploy-container-image.yaml | 2 +- .github/workflows/deploy-test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-container-image.yaml b/.github/workflows/deploy-container-image.yaml index 5bff2f9616..74f95a114b 100644 --- a/.github/workflows/deploy-container-image.yaml +++ b/.github/workflows/deploy-container-image.yaml @@ -50,7 +50,7 @@ jobs: if: github.event_name == 'pull_request_target' uses: thollander/actions-comment-pull-request@v3 with: - comment_tag: container-image + comment-tag: container-image message: | Use `docker` or `podman` to test this pull request locally. diff --git a/.github/workflows/deploy-test.yml b/.github/workflows/deploy-test.yml index a9ba8fdd0c..f26b55d786 100644 --- a/.github/workflows/deploy-test.yml +++ b/.github/workflows/deploy-test.yml @@ -98,7 +98,7 @@ jobs: - name: add comment with deployment location uses: thollander/actions-comment-pull-request@v3 with: - comment_tag: static-test-deployment + comment-tag: static-test-deployment message: > This pull request is deployed at [test.admin-interface.opencast.org/${{ steps.build-path.outputs.build }}