From 4be28f6f7e00ccc59dd7e88828bb06fcb5c41639 Mon Sep 17 00:00:00 2001 From: Matheus Macabu Date: Wed, 3 Sep 2025 16:50:28 +0200 Subject: [PATCH] EphemeralEnvs: Trigger workflow when PR is merged (#110501) --- .github/workflows/ephemeral-instances-pr-comment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ephemeral-instances-pr-comment.yml b/.github/workflows/ephemeral-instances-pr-comment.yml index bab6208f102..6cebf60239f 100644 --- a/.github/workflows/ephemeral-instances-pr-comment.yml +++ b/.github/workflows/ephemeral-instances-pr-comment.yml @@ -10,7 +10,7 @@ permissions: {} jobs: handle-ephemeral-instances: - if: ${{ github.event.issue.pull_request && (startsWith(github.event.comment.body, '/deploy-to-hg') || github.event.action == 'closed') && github.repository_owner == 'grafana' }} + if: ${{ github.repository_owner == 'grafana' && ((github.event.issue.pull_request && startsWith(github.event.comment.body, '/deploy-to-hg')) || github.event.action == 'closed') }} runs-on: labels: ubuntu-x64-xlarge continue-on-error: true