diff --git a/.github/actions/check_artifact_size/action.yaml b/.github/actions/check_artifact_size/action.yaml index 380351ed8b5d4..9deecd4650836 100644 --- a/.github/actions/check_artifact_size/action.yaml +++ b/.github/actions/check_artifact_size/action.yaml @@ -143,8 +143,7 @@ runs: id: add-label if: | steps.check-artifact-size.outputs.addLabel && - github.event.pull_request.merged == true && - github.event.pull_request.merge_commit_sha != null + github.event_name == 'push' && github.ref == 'refs/heads/main' shell: bash run: | curl -s -X POST -H "Authorization: token ${{ inputs.token }}" \ diff --git a/.github/workflows/evergreen.yaml b/.github/workflows/evergreen.yaml index f299a90a87f4f..8691ce07b54bc 100644 --- a/.github/workflows/evergreen.yaml +++ b/.github/workflows/evergreen.yaml @@ -43,7 +43,7 @@ jobs: nightly: ${{ github.event.inputs.nightly }} run_api_leak_detector: true keep_artifacts: install/lib/libcobalt.* - artifact_size_increase_thresholds: '{"install/lib/libcobalt.so": 0.02, "install/lib/libcobalt.lz4": 0.02}' + artifact_size_increase_thresholds: '{"install/lib/libcobalt.so": 0, "install/lib/libcobalt.lz4": 0}' evergreen-arm-softfp: uses: ./.github/workflows/main.yaml permissions: