From c2733c34e9f047eae344ad352ed0dddb2b65e429 Mon Sep 17 00:00:00 2001 From: Roman Date: Wed, 14 May 2025 10:50:37 -0500 Subject: [PATCH 1/2] add if --- .github/workflows/monitor_requirements_size_master.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/monitor_requirements_size_master.yml b/.github/workflows/monitor_requirements_size_master.yml index 927dada0d8..2cb19cca75 100644 --- a/.github/workflows/monitor_requirements_size_master.yml +++ b/.github/workflows/monitor_requirements_size_master.yml @@ -15,6 +15,7 @@ permissions: jobs: measure-venv: + if: github.event_name == 'pull_request' && github.base_ref == 'master' || contains( github.event.pull_request.labels.*.name, 'show-venv-size') runs-on: ubuntu-latest strategy: matrix: @@ -54,7 +55,7 @@ jobs: esac comment-on-pr: - if: github.event_name == 'pull_request' && github.base_ref == 'master' || contains( github.event.pull_request.labels.*.name, 'show-venv-size') +# if: github.event_name == 'pull_request' && github.base_ref == 'master' || contains( github.event.pull_request.labels.*.name, 'show-venv-size') needs: measure-venv runs-on: ubuntu-latest steps: From c0167afb2a52ce557b6bc06884656a683302bdac Mon Sep 17 00:00:00 2001 From: Roman Date: Wed, 14 May 2025 10:52:30 -0500 Subject: [PATCH 2/2] remove comment --- .github/workflows/monitor_requirements_size_master.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/monitor_requirements_size_master.yml b/.github/workflows/monitor_requirements_size_master.yml index 2cb19cca75..e9efa8dcd3 100644 --- a/.github/workflows/monitor_requirements_size_master.yml +++ b/.github/workflows/monitor_requirements_size_master.yml @@ -55,7 +55,6 @@ jobs: esac comment-on-pr: -# if: github.event_name == 'pull_request' && github.base_ref == 'master' || contains( github.event.pull_request.labels.*.name, 'show-venv-size') needs: measure-venv runs-on: ubuntu-latest steps: