From e79988113a614daae91bab85fc703b7c4386c4e5 Mon Sep 17 00:00:00 2001 From: Gabriel Grubba Date: Wed, 14 May 2025 10:01:15 -0300 Subject: [PATCH 1/3] CI: test where the profiler is ran --- .github/workflows/run-profiler.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/run-profiler.yml b/.github/workflows/run-profiler.yml index 844066df87..81df9bed0e 100644 --- a/.github/workflows/run-profiler.yml +++ b/.github/workflows/run-profiler.yml @@ -18,6 +18,7 @@ jobs: - name: Run CI run: | echo "Running meteor profiler..." + git status ls # Add your CI commands here From bc99f0f5f1ea2fac00c03d8f462940ba7ebb3cb3 Mon Sep 17 00:00:00 2001 From: Gabriel Grubba Date: Wed, 14 May 2025 10:04:29 -0300 Subject: [PATCH 2/3] DEV: adding value example to the profiler --- .github/workflows/run-profiler.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/run-profiler.yml b/.github/workflows/run-profiler.yml index 81df9bed0e..8f007a2f9e 100644 --- a/.github/workflows/run-profiler.yml +++ b/.github/workflows/run-profiler.yml @@ -20,6 +20,8 @@ jobs: echo "Running meteor profiler..." git status ls + value="VALUE" + echo "Key=$value" >> $GITHUB_ENV # Add your CI commands here - name: Comment PR @@ -27,4 +29,6 @@ jobs: with: message: | Hello world !!!! :wave: + this pr is ran on + testing value: ${{ env.VALUE }} pr-number: ${{ github.event.issue.number }} From becb0d8bc4e05d9cb84349b3b67d26df7f4f4178 Mon Sep 17 00:00:00 2001 From: Gabriel Grubba Date: Wed, 14 May 2025 10:09:16 -0300 Subject: [PATCH 3/3] DEV: add logs to check if the assertion is correct --- .github/workflows/run-profiler.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/run-profiler.yml b/.github/workflows/run-profiler.yml index 8f007a2f9e..ac7143020d 100644 --- a/.github/workflows/run-profiler.yml +++ b/.github/workflows/run-profiler.yml @@ -21,6 +21,9 @@ jobs: git status ls value="VALUE" + echo ${{ github.event.issue.pull_request }} + echo ${{ github.event.comment.body }} + echo contains(${{ github.event.comment.body }}, '/profile') echo "Key=$value" >> $GITHUB_ENV # Add your CI commands here