From a060ad534f1190bcd0b900193215a9a70cf297e1 Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Tue, 14 Nov 2023 12:47:41 +0100 Subject: [PATCH 1/3] Test JUnit XML comparison --- .github/workflows/build-check-install.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build-check-install.yaml b/.github/workflows/build-check-install.yaml index 8477cf80..dff9a5ae 100644 --- a/.github/workflows/build-check-install.yaml +++ b/.github/workflows/build-check-install.yaml @@ -624,7 +624,6 @@ jobs: steps.check-junit-xml.outputs.files_exists == 'true' && env.junit_xml_comparison == 'true' && env.junit_xml_comparison_result_method == 'comment' && - !github.event.pull_request.head.repo.fork && github.event_name == 'pull-request' uses: marocchino/sticky-pull-request-comment@v2 with: From 7d8ed49666d69cca40d4267f5bd36a0865fb9696 Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Tue, 14 Nov 2023 12:57:46 +0100 Subject: [PATCH 2/3] Fix --- .github/workflows/build-check-install.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-check-install.yaml b/.github/workflows/build-check-install.yaml index dff9a5ae..7f5798ae 100644 --- a/.github/workflows/build-check-install.yaml +++ b/.github/workflows/build-check-install.yaml @@ -624,7 +624,7 @@ jobs: steps.check-junit-xml.outputs.files_exists == 'true' && env.junit_xml_comparison == 'true' && env.junit_xml_comparison_result_method == 'comment' && - github.event_name == 'pull-request' + github.event_name == 'pull_request' uses: marocchino/sticky-pull-request-comment@v2 with: header: markdown-table @@ -637,7 +637,7 @@ jobs: env.junit_xml_comparison == 'true' && env.junit_xml_comparison_result_method == 'artifact' && !github.event.pull_request.head.repo.fork && - github.event_name == 'pull-request' + github.event_name == 'pull_request' uses: actions/upload-artifact@v3 with: path: output-artifact.md From 4b7f0d0da467334a8537c8d94d8dd9f4aafced39 Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Tue, 14 Nov 2023 14:23:40 +0100 Subject: [PATCH 3/3] Revert change --- .github/workflows/build-check-install.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-check-install.yaml b/.github/workflows/build-check-install.yaml index 7f5798ae..c7d934de 100644 --- a/.github/workflows/build-check-install.yaml +++ b/.github/workflows/build-check-install.yaml @@ -624,6 +624,7 @@ jobs: steps.check-junit-xml.outputs.files_exists == 'true' && env.junit_xml_comparison == 'true' && env.junit_xml_comparison_result_method == 'comment' && + !github.event.pull_request.head.repo.fork && github.event_name == 'pull_request' uses: marocchino/sticky-pull-request-comment@v2 with: