From 8ef8bd7e846dd5aae866abdcaf40898ab107add8 Mon Sep 17 00:00:00 2001 From: Mauricio Alvarez Leon <65101411+BBBmau@users.noreply.github.com> Date: Thu, 23 Jan 2025 10:42:13 -0800 Subject: [PATCH] fix noisy `push-and-comment` workflow (#433) Update push-and-comment.yaml --- .github/workflows/push-and-comment.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/push-and-comment.yaml b/.github/workflows/push-and-comment.yaml index a9fa2e6..f9aa34a 100644 --- a/.github/workflows/push-and-comment.yaml +++ b/.github/workflows/push-and-comment.yaml @@ -11,7 +11,8 @@ jobs: runs-on: ubuntu-latest if: > github.event.workflow_run.event == 'pull_request' && - github.event.workflow_run.conclusion == 'success' + github.event.workflow_run.conclusion == 'success' && + contains(env.LAST_COMMIT_MESSAGE, '[upload]') timeout-minutes: 5 permissions: contents: read