Merge pull request #13749 from meteor/ci/work-on-meteor-profile-ci

DEV: add a different check for workflow
This commit is contained in:
Gabriel Grubba
2025-05-14 10:19:11 -03:00
committed by GitHub

View File

@@ -6,7 +6,7 @@ on:
jobs:
run-profiler:
if: ${{ github.event.issue.pull_request }} && contains(${{ github.event.comment.body }}, '/profile')
if: github.event.issue.pull_request && contains(github.event.comment.body , '/profile')
runs-on: ubuntu-latest
steps:
- name: Checkout code
@@ -16,14 +16,17 @@ jobs:
node-version: 22.x
- name: Run CI
env:
IS_PR: ${{ github.event.issue.pull_request }}
PR_BODY: ${{ github.event.comment.body }}
run: |
echo "Running meteor profiler..."
git status
ls
value="VALUE"
echo ${{ github.event.issue.pull_request }}
echo ${{ github.event.comment.body }}
echo contains(${{ github.event.comment.body }}, '/profile')
echo $IS_PR
echo $PR_BODY
echo contains($PR_BODY, '/profile')
echo "Key=$value" >> $GITHUB_ENV
# Add your CI commands here